public class ActiveAuthenticationInfo extends SecurityInfo
Modifier and Type | Field and Description |
---|---|
static String |
ECDSA_PLAIN_RIPEMD160_OID |
static String |
ECDSA_PLAIN_SHA1_OID |
static String |
ECDSA_PLAIN_SHA224_OID |
static String |
ECDSA_PLAIN_SHA256_OID |
static String |
ECDSA_PLAIN_SHA384_OID |
static String |
ECDSA_PLAIN_SHA512_OID |
static String |
ECDSA_PLAIN_SIGNATURES
Specified in BSI TR 03111 Section 5.2.1.
|
static int |
VERSION_1 |
ID_AA, ID_CA_DH_3DES_CBC_CBC, ID_CA_DH_AES_CBC_CMAC_128, ID_CA_DH_AES_CBC_CMAC_192, ID_CA_DH_AES_CBC_CMAC_256, ID_CA_ECDH_3DES_CBC_CBC, ID_CA_ECDH_AES_CBC_CMAC_128, ID_CA_ECDH_AES_CBC_CMAC_192, ID_CA_ECDH_AES_CBC_CMAC_256, ID_EC_PUBLIC_KEY, ID_EC_PUBLIC_KEY_TYPE, ID_PACE, ID_PACE_DH_GM, ID_PACE_DH_GM_3DES_CBC_CBC, ID_PACE_DH_GM_AES_CBC_CMAC_128, ID_PACE_DH_GM_AES_CBC_CMAC_192, ID_PACE_DH_GM_AES_CBC_CMAC_256, ID_PACE_DH_IM, ID_PACE_DH_IM_3DES_CBC_CBC, ID_PACE_DH_IM_AES_CBC_CMAC_128, ID_PACE_DH_IM_AES_CBC_CMAC_192, ID_PACE_DH_IM_AES_CBC_CMAC_256, ID_PACE_ECDH_CAM, ID_PACE_ECDH_CAM_AES_CBC_CMAC_128, ID_PACE_ECDH_CAM_AES_CBC_CMAC_192, ID_PACE_ECDH_CAM_AES_CBC_CMAC_256, ID_PACE_ECDH_GM, ID_PACE_ECDH_GM_3DES_CBC_CBC, ID_PACE_ECDH_GM_AES_CBC_CMAC_128, ID_PACE_ECDH_GM_AES_CBC_CMAC_192, ID_PACE_ECDH_GM_AES_CBC_CMAC_256, ID_PACE_ECDH_IM, ID_PACE_ECDH_IM_3DES_CBC_CBC, ID_PACE_ECDH_IM_AES_CBC_CMAC_128, ID_PACE_ECDH_IM_AES_CBC_CMAC_192, ID_PACE_ECDH_IM_AES_CBC_CMAC_256, ID_PK_DH, ID_PK_ECDH, ID_TA, ID_TA_ECDSA, ID_TA_ECDSA_SHA_1, ID_TA_ECDSA_SHA_224, ID_TA_ECDSA_SHA_256, ID_TA_RSA, ID_TA_RSA_PSS_SHA_1, ID_TA_RSA_PSS_SHA_256, ID_TA_RSA_V1_5_SHA_1, ID_TA_RSA_V1_5_SHA_256
Constructor and Description |
---|
ActiveAuthenticationInfo(String signatureAlgorithmOID)
Constructs a new object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Tests equality with respect to another object.
|
ASN1Primitive |
getDERObject()
Deprecated.
Remove this method from visible interface (because of dependency on BC API)
|
String |
getObjectIdentifier()
Returns the protocol object identifier of this AA security info.
|
String |
getProtocolOIDString()
Returns the protocol object identifier as a human readable string.
|
String |
getSignatureAlgorithmOID()
Returns the signature algorithm object identifier.
|
int |
getVersion()
Returns the version of the Active Authentication protocol (should be 1).
|
int |
hashCode()
Returns the hash code of this object.
|
static String |
lookupMnemonicByOID(String oid)
Translates an OID string to a Java mnemonic algorithm string.
|
static String |
toSignatureAlgorithmOIDString(String oid)
Returns a human readable rendering of the given object identifier string.
|
String |
toString()
Returns a textual representation of this object.
|
getInstance, writeObject
getEncoded
public static final int VERSION_1
public static final String ECDSA_PLAIN_SIGNATURES
public static final String ECDSA_PLAIN_SHA1_OID
public static final String ECDSA_PLAIN_SHA224_OID
public static final String ECDSA_PLAIN_SHA256_OID
public static final String ECDSA_PLAIN_SHA384_OID
public static final String ECDSA_PLAIN_SHA512_OID
public static final String ECDSA_PLAIN_RIPEMD160_OID
public ActiveAuthenticationInfo(String signatureAlgorithmOID)
signatureAlgorithmOID
- the signature algorithm OID@Deprecated public ASN1Primitive getDERObject()
getDERObject
in class SecurityInfo
public String getObjectIdentifier()
getObjectIdentifier
in class SecurityInfo
public int getVersion()
public String getProtocolOIDString()
getProtocolOIDString
in class SecurityInfo
public String getSignatureAlgorithmOID()
public String toString()
public boolean equals(Object other)
public int hashCode()
public static String lookupMnemonicByOID(String oid) throws NoSuchAlgorithmException
oid
- the OID stringNoSuchAlgorithmException
- if the OID was not recognizedCopyright © 2020. All rights reserved.