XMLEncConstantspublic class EncryptedKey extends EncryptedType
nsMap, TYPE_CONTENT, TYPE_CONTENT_URI, TYPE_ELEMENT, TYPE_ELEMENT_URI, TYPE_OTHERATTR_ALGORITHM, ATTR_ENCODING, ATTR_ID, ATTR_MIME_TYPE, ATTR_RECIPIENT, ATTR_TYPE, ATTR_URI, CONTENT_ONLY, CONTENT_ONLY_PROPERTY, DEFAULT_ENC_ENCODING, TAG_CARRIED_KEY_NAME, TAG_CIPHER_DATA, TAG_CIPHER_VALUE, TAG_DATA_REFERENCE, TAG_ENCRYPTED_DATA, TAG_ENCRYPTED_KEY, TAG_ENCRYPTED_TYPE, TAG_ENCRYPTION_METHOD, TAG_KEY_REFERENCE, TAG_KEY_SIZE, TAG_OAEP_PARAMS, TAG_REFERENCE_LIST, TC_ENCRYPTED_DATA, TC_ENCRYPTED_KEY, TC_ENCRYPTION_METHOD, TC_REFERENCE_LIST, VERBOSE, VERBOSE_PROPERTY, VERBOSE_PROPERTY_ALT, XMLENC_PREFIX, XMLENC_URI| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCarriedKeyName() |
|
java.lang.String |
getRecipient() |
|
ReferenceList |
getReferenceList() |
|
java.security.Key |
getWrappedKey() |
|
java.security.Key |
getWrappedKey(EncryptionMethod keyType) |
|
static java.security.Key |
getWrappedKey(EncryptionMethod keyType,
byte[] keyBytes) |
|
protected byte[] |
getWrappedKeyBytes() |
|
static void |
main(java.lang.String[] args) |
|
void |
setCarriedKeyName(java.lang.String carriedKeyName) |
|
void |
setEncryptionMethod(EncryptionMethod em) |
|
void |
setRecipient(java.lang.String recipient) |
|
void |
setReferenceList(ReferenceList referenceList) |
|
void |
setWrappedKey(java.security.Key key) |
|
java.lang.String |
toString() |
|
void |
toXML(XMLOutputStream xos,
int indent) |
|
void |
toXML(XMLOutputStream xos,
java.lang.String ns,
int indent) |
clear, getCipherData, getEncryptionMethod, getId, getKey, getKeyInfo, getKeyResolver, getType, getTypeURI, setCipherData, setEncryptionMethod, setId, setKey, setKey, setKeyInfo, setKeyResolver, setType, setTypepublic void setEncryptionMethod(EncryptionMethod em) throws EncryptionException
setEncryptionMethod in class EncryptedTypeEncryptionExceptionpublic void setRecipient(java.lang.String recipient)
public java.lang.String getRecipient()
public void setCarriedKeyName(java.lang.String carriedKeyName)
public java.lang.String getCarriedKeyName()
public ReferenceList getReferenceList()
public void setReferenceList(ReferenceList referenceList)
public java.lang.String toString()
toString in class EncryptedTypepublic java.security.Key getWrappedKey()
public java.security.Key getWrappedKey(EncryptionMethod keyType) throws EncryptionException
EncryptionExceptionpublic static java.security.Key getWrappedKey(EncryptionMethod keyType, byte[] keyBytes) throws EncryptionException
EncryptionExceptionprotected final byte[] getWrappedKeyBytes()
throws EncryptionException
EncryptionExceptionpublic void setWrappedKey(java.security.Key key)
throws EncryptionException
EncryptionExceptionpublic void toXML(XMLOutputStream xos, int indent) throws XMLStreamException
XMLStreamExceptionpublic void toXML(XMLOutputStream xos, java.lang.String ns, int indent) throws XMLStreamException
XMLStreamExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception