DSIGConstants
public abstract class KeyValue extends java.lang.Object implements DSIGConstants
ATTR_ALGORITHM, ATTR_ID, ATTR_PREFIX_LIST, ATTR_URI, ATTR_XMLNS, DSIG_PREFIX, DSIG_URI, DSIG_URI2, EXC_C14N_DEFAULT_PREFIX, TAG_C14N_METHOD, TAG_DIGEST_METHOD, TAG_DIGEST_VALUE, TAG_DSA_G, TAG_DSA_KEY_VALUE, TAG_DSA_P, TAG_DSA_Q, TAG_DSA_Y, TAG_HMAC_OUTPUT_LENGTH, TAG_INCLUSIVE_NAMESPACES, TAG_KEY_INFO, TAG_KEY_NAME, TAG_KEY_VALUE, TAG_OBJECT, TAG_REFERENCE, TAG_RSA_EXPONENT, TAG_RSA_KEY_VALUE, TAG_RSA_MODULUS, TAG_SIGNATURE, TAG_SIGNATURE_METHOD, TAG_SIGNATURE_VALUE, TAG_SIGNED_INFO, TAG_TRANSFORM, TAG_TRANSFORMS, TAG_X509_CERTIFICATE, TAG_X509_DATA, TAG_X509_ISSUER_NAME, TAG_X509_ISSUER_SERIAL, TAG_X509_SERIAL_NUMBER, TAG_X509_SUBJECT_NAME, TAG_XPATH, TC_C14N_METHOD, TC_DIGEST_METHOD, TC_DSA_KEY_VALUE, TC_KEY_INFO, TC_KEY_VALUE, TC_REFERENCE, TC_RSA_KEY_VALUE, TC_SIGNATURE, TC_SIGNATURE_METHOD, TC_SIGNED_INFO, TC_TRANSFORMS, TC_X509_DATA, VERBOSE, VERBOSE_PROPERTY, VERBOSE_PROPERTY_ALT
Modifier and Type | Method | Description |
---|---|---|
protected java.security.PublicKey |
createFromKeySpec(java.lang.String algorithm,
java.security.spec.KeySpec spec) |
|
static KeyValue |
fromXML(XMLInputStream in,
java.lang.String ns) |
|
static KeyValue |
getKeyValue(java.security.PublicKey publicKey) |
|
abstract java.security.PublicKey |
getPublicKey() |
|
abstract void |
toXML(XMLOutputStream xos,
java.lang.String ns,
int indent) |
|
abstract void |
validate() |
public static KeyValue getKeyValue(java.security.PublicKey publicKey) throws KeyInfoException
KeyInfoException
protected java.security.PublicKey createFromKeySpec(java.lang.String algorithm, java.security.spec.KeySpec spec) throws KeyInfoValidationException
KeyInfoValidationException
public abstract java.security.PublicKey getPublicKey() throws KeyInfoValidationException
KeyInfoValidationException
public abstract void validate() throws KeyInfoValidationException
KeyInfoValidationException
public abstract void toXML(XMLOutputStream xos, java.lang.String ns, int indent) throws XMLStreamException
XMLStreamException
public static KeyValue fromXML(XMLInputStream in, java.lang.String ns) throws XMLStreamException
XMLStreamException