public class PACEInfo extends SecurityInfo
Modifier and Type | Class and Description |
---|---|
static class |
PACEInfo.MappingType
Generic mapping and Integrated mapping and CAM mapping.
|
Modifier and Type | Field and Description |
---|---|
static int |
PARAM_ID_ECP_BRAINPOOL_P192_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_BRAINPOOL_P224_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_BRAINPOOL_P256_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_BRAINPOOL_P320_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_BRAINPOOL_P384_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_BRAINPOOL_P512_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_NIST_P192_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_NIST_P224_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_NIST_P384_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_NIST_P521_R1
Standardized domain parameters.
|
static int |
PARAM_ID_ECP_NST_P256_R1
Standardized domain parameters.
|
static int |
PARAM_ID_GFP_1024_160
Standardized domain parameters.
|
static int |
PARAM_ID_GFP_2048_224
Standardized domain parameters.
|
static int |
PARAM_ID_GFP_2048_256
Standardized domain parameters.
|
ID_AA_OID, ID_CA_DH_3DES_CBC_CBC_OID, ID_CA_DH_AES_CBC_CMAC_128_OID, ID_CA_DH_AES_CBC_CMAC_192_OID, ID_CA_DH_AES_CBC_CMAC_256_OID, ID_CA_ECDH_3DES_CBC_CBC_OID, ID_CA_ECDH_AES_CBC_CMAC_128_OID, ID_CA_ECDH_AES_CBC_CMAC_192_OID, ID_CA_ECDH_AES_CBC_CMAC_256_OID, 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_OID, ID_PK_ECDH_OID, ID_TA_OID
Constructor and Description |
---|
PACEInfo(String oid,
int version,
int parameterId)
Creates a PACEInfo instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
checkRequiredIdentifier(String oid) |
static PACEInfo |
createPACEInfo(byte[] paceInfoBytes) |
boolean |
equals(Object other) |
org.bouncycastle.asn1.ASN1Primitive |
getDERObject()
Deprecated.
|
String |
getObjectIdentifier()
Returns the object identifier of this SecurityInfo.
|
int |
getParameterId() |
int |
getVersion() |
int |
hashCode() |
static String |
toCipherAlgorithm(String oid) |
static String |
toDigestAlgorithm(String oid) |
static String |
toKeyAgreementAlgorithm(String oid) |
static int |
toKeyLength(String oid) |
static PACEInfo.MappingType |
toMappingType(String oid) |
static AlgorithmParameterSpec |
toParameterSpec(int stdDomainParam) |
String |
toString() |
getInstance, lookupMnemonicByOID, writeObject
getEncoded
public static final int PARAM_ID_GFP_1024_160
public static final int PARAM_ID_GFP_2048_224
public static final int PARAM_ID_GFP_2048_256
public static final int PARAM_ID_ECP_NIST_P192_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P192_R1
public static final int PARAM_ID_ECP_NIST_P224_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P224_R1
public static final int PARAM_ID_ECP_NST_P256_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P256_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P320_R1
public static final int PARAM_ID_ECP_NIST_P384_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P384_R1
public static final int PARAM_ID_ECP_BRAINPOOL_P512_R1
public static final int PARAM_ID_ECP_NIST_P521_R1
public PACEInfo(String oid, int version, int parameterId)
oid
- the OIDversion
- should be 2parameterId
- either a standardized domain parameter id from table 6 or a proprietary domain parameterpublic static PACEInfo createPACEInfo(byte[] paceInfoBytes)
public String getObjectIdentifier()
SecurityInfo
getObjectIdentifier
in class SecurityInfo
public int getVersion()
public int getParameterId()
@Deprecated public org.bouncycastle.asn1.ASN1Primitive getDERObject()
SecurityInfo
getDERObject
in class SecurityInfo
public static boolean checkRequiredIdentifier(String oid)
public static PACEInfo.MappingType toMappingType(String oid)
public static int toKeyLength(String oid)
public static AlgorithmParameterSpec toParameterSpec(int stdDomainParam)
Copyright © 2016. All rights reserved.