public class KeyWrapAlgorithm extends Algorithm
Modifier and Type | Field and Description |
---|---|
static KeyWrapAlgorithm |
AES_CBC |
static KeyWrapAlgorithm |
AES_CBC_PAD |
static OBJECT_IDENTIFIER |
AES_CBC_PAD_OID |
static KeyWrapAlgorithm |
AES_ECB |
static KeyWrapAlgorithm |
AES_KEY_WRAP |
static OBJECT_IDENTIFIER |
AES_KEY_WRAP_OID |
static KeyWrapAlgorithm |
AES_KEY_WRAP_PAD |
static OBJECT_IDENTIFIER |
AES_KEY_WRAP_PAD_OID |
static KeyWrapAlgorithm |
DES_CBC |
static KeyWrapAlgorithm |
DES_CBC_PAD |
static OBJECT_IDENTIFIER |
DES_CBC_PAD_OID |
static KeyWrapAlgorithm |
DES_ECB |
static KeyWrapAlgorithm |
DES3_CBC |
static KeyWrapAlgorithm |
DES3_CBC_PAD |
static OBJECT_IDENTIFIER |
DES3_CBC_PAD_OID |
static KeyWrapAlgorithm |
DES3_ECB |
static KeyWrapAlgorithm |
PLAINTEXT |
static KeyWrapAlgorithm |
RC2_CBC_PAD |
static KeyWrapAlgorithm |
RSA |
CKM_AES_CBC, CKM_AES_CBC_PAD, CKM_AES_ECB, CKM_AES_KEY_GEN, CKM_AES_KEY_WRAP, CKM_AES_KEY_WRAP_PAD, CKM_DES_CBC_PAD, CKM_DES_KEY_GEN, CKM_DES3_CBC_PAD, CKM_DES3_ECB, CKM_DES3_KEY_GEN, CKM_DSA_KEY_PAIR_GEN, CKM_EC_KEY_PAIR_GEN, CKM_NSS_AES_KEY_WRAP, CKM_NSS_AES_KEY_WRAP_PAD, CKM_PBA_SHA1_WITH_SHA1_HMAC, CKM_RC2_CBC_PAD, CKM_RC2_KEY_GEN, CKM_RC4_KEY_GEN, CKM_RSA_PKCS_KEY_PAIR_GEN, CKM_SHA_1_HMAC, oid, oidIndex, SEC_OID_AES_128_CBC, SEC_OID_AES_128_ECB, SEC_OID_AES_192_CBC, SEC_OID_AES_192_ECB, SEC_OID_AES_256_CBC, SEC_OID_AES_256_ECB, SEC_OID_ANSIX9_DSA_SIGNATURE, SEC_OID_ANSIX9_DSA_SIGNATURE_WITH_SHA1_DIGEST, SEC_OID_ANSIX962_EC_PUBLIC_KEY, SEC_OID_ANSIX962_ECDSA_SHA1_SIGNATURE, SEC_OID_ANSIX962_ECDSA_SHA256_SIGNATURE, SEC_OID_ANSIX962_ECDSA_SHA384_SIGNATURE, SEC_OID_ANSIX962_ECDSA_SHA512_SIGNATURE, SEC_OID_ANSIX962_ECDSA_SIGNATURE_SPECIFIED_DIGEST, SEC_OID_DES_CBC, SEC_OID_DES_ECB, SEC_OID_DES_EDE3_CBC, SEC_OID_HMAC_SHA256, SEC_OID_HMAC_SHA384, SEC_OID_HMAC_SHA512, SEC_OID_MD2, SEC_OID_MD5, SEC_OID_PKCS1_MD2_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_RSA_ENCRYPTION, SEC_OID_PKCS1_RSA_PSS_SIGNATURE, SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION, SEC_OID_PKCS1_SHA512_WITH_RSA_ENCRYPTION, SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC2_CBC, SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC4, SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC, SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC2_CBC, SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC4, SEC_OID_PKCS5_PBE_WITH_MD2_AND_DES_CBC, SEC_OID_PKCS5_PBE_WITH_MD5_AND_DES_CBC, SEC_OID_PKCS5_PBE_WITH_SHA1_AND_DES_CBC, SEC_OID_PKCS5_PBES2, SEC_OID_PKCS5_PBKDF2, SEC_OID_PKCS5_PBMAC1, SEC_OID_RC2_CBC, SEC_OID_RC4, SEC_OID_SHA1, SEC_OID_SHA256, SEC_OID_SHA384, SEC_OID_SHA512
Modifier | Constructor and Description |
---|---|
protected |
KeyWrapAlgorithm(int oidTag,
java.lang.String name,
java.lang.Class<?>[] paramClasses,
boolean padded,
int blockSize) |
protected |
KeyWrapAlgorithm(int oidTag,
java.lang.String name,
java.lang.Class<?> paramClass,
boolean padded,
int blockSize) |
Modifier and Type | Method and Description |
---|---|
static KeyWrapAlgorithm |
fromOID(java.lang.String wrapOID) |
static KeyWrapAlgorithm |
fromString(java.lang.String name) |
int |
getBlockSize() |
boolean |
isPadded() |
getParameterClass, getParameterClasses, isValidParameterObject, toOID, toString
public static final KeyWrapAlgorithm DES_ECB
public static final KeyWrapAlgorithm DES_CBC
public static final KeyWrapAlgorithm DES_CBC_PAD
public static final KeyWrapAlgorithm DES3_ECB
public static final KeyWrapAlgorithm DES3_CBC
public static final KeyWrapAlgorithm DES3_CBC_PAD
public static final KeyWrapAlgorithm RSA
public static final KeyWrapAlgorithm PLAINTEXT
public static final KeyWrapAlgorithm AES_ECB
public static final KeyWrapAlgorithm AES_CBC
public static final KeyWrapAlgorithm AES_CBC_PAD
public static final KeyWrapAlgorithm RC2_CBC_PAD
public static final KeyWrapAlgorithm AES_KEY_WRAP
public static final KeyWrapAlgorithm AES_KEY_WRAP_PAD
public static final OBJECT_IDENTIFIER AES_KEY_WRAP_PAD_OID
public static final OBJECT_IDENTIFIER AES_KEY_WRAP_OID
public static final OBJECT_IDENTIFIER AES_CBC_PAD_OID
public static final OBJECT_IDENTIFIER DES3_CBC_PAD_OID
public static final OBJECT_IDENTIFIER DES_CBC_PAD_OID
protected KeyWrapAlgorithm(int oidTag, java.lang.String name, java.lang.Class<?> paramClass, boolean padded, int blockSize)
protected KeyWrapAlgorithm(int oidTag, java.lang.String name, java.lang.Class<?>[] paramClasses, boolean padded, int blockSize)
public static KeyWrapAlgorithm fromString(java.lang.String name) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public boolean isPadded()
public int getBlockSize()
public static KeyWrapAlgorithm fromOID(java.lang.String wrapOID) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException