public class PublicKeyInfoAttribute extends ByteArrayAttribute
PKCS11Constants.CKA_PUBLIC_KEY_INFOAC_ISSUER, ALLOWED_MECHANISMS, ALWAYS_AUTHENTICATE, ALWAYS_SENSITIVE, APPLICATION, ATTR_TYPES, attributeClasses_, attributeNames_, AUTH_PIN_FLAGS, BASE, BITS_PER_PIXEL, CERTIFICATE_CATEGORY, CERTIFICATE_TYPE, CHAR_COLUMNS, CHAR_ROWS, CHAR_SETS, CHECK_VALUE, ckAttribute_, CLASS, COEFFICIENT, COLOR, DECRYPT, DERIVE, EC_PARAMS, EC_POINT, ECDSA_PARAMS, ENCODING_METHODS, ENCRYPT, END_DATE, EXPONENT_1, EXPONENT_2, EXTRACTABLE, HAS_RESET, HASH_OF_ISSUER_PUBLIC_KEY, HASH_OF_SUBJECT_PUBLIC_KEY, HW_FEATURE_TYPE, ID, ISSUER, JAVA_MIDP_SECURITY_DOMAIN, KEY_GEN_MECHANISM, KEY_TYPE, LABEL, LOCAL, MECHANISM_TYPE, MIME_TYPES, MODIFIABLE, MODULUS, MODULUS_BITS, NEVER_EXTRACTABLE, OBJECT_ID, OWNER, PARAMETER_SET, PIXEL_X, PIXEL_Y, present_, PRIME, PRIME_1, PRIME_2, PRIME_BITS, PRIVATE, PRIVATE_EXPONENT, PUBLIC_EXPONENT, PUBLIC_KEY_INFO, RESET_ON_INIT, RESOLUTION, SECONDARY_AUTH, SEED, SENSITIVE, sensitive_, SERIAL_NUMBER, SIGN, SIGN_RECOVER, START_DATE, stateKnown_, SUB_PRIME_BITS, SUBJECT, SUBPRIME, TOKEN, TRUSTED, UNWRAP, UNWRAP_TEMPLATE, URL, VALUE, VALUE_BITS, VALUE_LEN, VENDOR_DEFINED, VERIFY, VERIFY_RECOVER, WRAP, WRAP_TEMPLATE, WRAP_WITH_TRUSTED| Constructor and Description |
|---|
PublicKeyInfoAttribute()
Public Key DER encoded
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getValueString()
Get a string representation of the value of this attribute.
|
protected iaik.asn1.ASN1 |
toAsn1()
Converts the public key to an ASN.1 object.
|
protected java.lang.String |
toPem()
Returns the PEM encoded representation of this public key including the
standard PEM armor header and footer.
|
equalsValue, getByteArrayValue, hashCode, setByteArrayValue, setValueclone, equals, getAttributeClass, getAttributeName, getCkAttribute, getType, isExcluded, isExcluded, isExcluded, isPresent, isSensitive, isStateKnown, setCkAttribute, setPresent, setSensitive, setType, toString, toStringpublic PublicKeyInfoAttribute()
PKCS11Constants.CKA_PUBLIC_KEY_INFOprotected java.lang.String toPem()
-----BEGIN PUBLIC KEY----- (Base64 encoded DER data, wrapped at 64 characters per line) -----END PUBLIC KEY-----
protected iaik.asn1.ASN1 toAsn1()
throws iaik.asn1.CodingException
iaik.asn1.CodingException - if parsing the public key failsprotected java.lang.String getValueString()
ByteArrayAttributegetValueString in class ByteArrayAttribute