|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.security.pkcs9.PKCS9
PKCS #9 helper class. This class defines static fields and provides helper class methods for the PKCS7 and PKCS9 packages.
Field Summary | |
static String |
CHALLENGE_PASSWORD_STR
PKCS9 Challenge Password String |
static String |
CONTENT_TYPE_STR
PKCS9 Content Type String |
static String |
COUNTERSIGNATURE_STR
PKCS9 Countersignature String |
static String |
EMAIL_ADDRESS_STR
PKCS9 Email Address String |
static String |
EXTENDED_CERTIFICATE_ATTRIBUTES_STR
PKCS9 Extended Certificate Attributes String |
static String |
FRIENDLY_NAME_STR
PKCS9 Friendly Name String |
static String |
LOCAL_KEY_ID_STR
PKCS9 Local Key Id String |
static String |
MESSAGE_DIGEST_STR
PKCS9 Message Digest String |
static String |
SIGNING_TIME_STR
PKCS9 Signing Time String |
static String |
UNSTRUCTURED_ADDRESS_STR
PKCS9 Unstructured Address String |
static String |
UNSTRUCTURED_NAME_STR
PKCS9 Unstructured Name String |
Method Summary | |
static String |
getName(ObjectIdentifier oid)
Return the attribute name for a given OID or null if we don't recognize the oid. |
static ObjectIdentifier |
getObjectIdentifier(String name)
Return the OID for a given attribute name or null if the name is not recognized. |
static PKCS9DerObject |
getPKCS9Attribute(byte[] encoding)
|
static PKCS9DerObject |
getPKCS9Attribute(byte[] encoding,
String provider)
|
static PKCS9DerObject |
getPKCS9Attribute(ObjectIdentifier oid,
Object value)
|
static PKCS9DerObject |
getPKCS9Attribute(ObjectIdentifier oid,
Object value,
String provider)
|
static PKCS9DerObject |
getPKCS9Attribute(String name,
Object value)
|
static PKCS9DerObject |
getPKCS9Attribute(String name,
Object value,
String provider)
|
static boolean |
isAuthenticatedData(ObjectIdentifier oid)
Return true if the ObjectIdentifier matches the AuthenticatedData ObjectIdentifer. |
static boolean |
isAuthenticatedData(String oidString)
Return true if the string matches the AuthenticatedData ObjectIdentifer. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final String EMAIL_ADDRESS_STR
public static final String UNSTRUCTURED_NAME_STR
public static final String CONTENT_TYPE_STR
public static final String MESSAGE_DIGEST_STR
public static final String SIGNING_TIME_STR
public static final String COUNTERSIGNATURE_STR
public static final String CHALLENGE_PASSWORD_STR
public static final String UNSTRUCTURED_ADDRESS_STR
public static final String EXTENDED_CERTIFICATE_ATTRIBUTES_STR
public static final String FRIENDLY_NAME_STR
public static final String LOCAL_KEY_ID_STR
Method Detail |
public static ObjectIdentifier getObjectIdentifier(String name)
public static String getName(ObjectIdentifier oid)
public static PKCS9DerObject getPKCS9Attribute(ObjectIdentifier oid, Object value)
public static PKCS9DerObject getPKCS9Attribute(ObjectIdentifier oid, Object value, String provider)
public static PKCS9DerObject getPKCS9Attribute(String name, Object value)
public static PKCS9DerObject getPKCS9Attribute(String name, Object value, String provider)
public static PKCS9DerObject getPKCS9Attribute(byte[] encoding) throws IOException
public static PKCS9DerObject getPKCS9Attribute(byte[] encoding, String provider) throws IOException
public static boolean isAuthenticatedData(String oidString)
oidString
- Object Identifier string.public static boolean isAuthenticatedData(ObjectIdentifier oid)
oid
- ObjectIdentifier
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |