|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.xml.security.utils.ElementProxy
|
+--org.apache.xml.security.utils.EncryptionElementProxy
|
+--org.apache.xml.security.encryption.EncryptedKey
This class maps to the xenc:EncryptedKey element.
| Field Summary |
| Fields inherited from class org.apache.xml.security.utils.ElementProxy |
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY |
| Constructor Summary | |
EncryptedKey(org.w3c.dom.Document doc,
EncryptionMethod encryptionMethod,
KeyInfo keyInfo,
CipherData cipherData,
EncryptionProperties encryptionProperties,
ReferenceList referenceList,
java.lang.String CarriedKeyName,
java.lang.String Id,
java.lang.String Type,
java.lang.String Recipient)
Constructor EncryptedKey |
|
EncryptedKey(org.w3c.dom.Document doc,
java.lang.String encryptionMethodURI,
EncryptionMethodParams encryptionMethodParams,
KeyInfo keyInfo,
java.security.Key contentKey,
java.security.Key wrapKey,
EncryptionProperties encryptionProperties,
ReferenceList referenceList,
java.lang.String CarriedKeyName,
java.lang.String Id,
java.lang.String Type,
java.lang.String Recipient)
Constructor EncryptedKey |
|
EncryptedKey(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor EncryptedKey |
|
| Method Summary | |
void |
addDataReference(DataReference dataReference)
Method addDataReference |
void |
addKeyReference(KeyReference keyReference)
Method addKeyReference |
java.lang.String |
getBaseLocalName()
Method getBaseLocalName |
CarriedKeyName |
getCarriedKeyName()
Method getCarriedKeyName |
CipherData |
getCipherData()
Method getCipherData |
EncryptionMethod |
getEncryptionMethod()
Method getEncryptionMethod |
EncryptionProperties |
getEncryptionProperties()
Method getEncryptionProperties |
java.lang.String |
getId()
Returns the Id attribute |
KeyInfo |
getKeyInfo()
Method getKeyInfo |
int |
getLengthDataReference()
Method getLengthDataReference |
int |
getLengthKeyReference()
Method getLengthKeyReference |
java.lang.String |
getMediaTypeOfType()
Method getMediaTypeOfType |
java.lang.String |
getRecipient()
Method getRecipient |
ReferenceList |
getReferenceList()
Method getReferenceList |
java.lang.String |
getType()
Method getType |
boolean |
getTypeIsContent()
Method getTypeIsContent |
boolean |
getTypeIsElement()
Method getTypeIsElement |
boolean |
getTypeIsMediaType()
Method getTypeIsMediaType |
DataReference |
itemDataReference(int i)
Method itemDataReference |
KeyReference |
itemKeyReference(int i)
Method itemKeyReference |
static void |
main(java.lang.String[] unused)
Method main |
void |
setCarriedKeyName(java.lang.String carriedKeyName)
Method setCarriedKeyName |
void |
setId(java.lang.String Id)
Sets the Id attribute |
void |
setRecipient(java.lang.String recipient)
Method setRecipient |
void |
setType(java.lang.String Type)
Sets the Type attribute |
java.security.Key |
unwrap(java.security.Key wrapKey,
java.lang.String wrappedKeyAlgoURI)
|
| Methods inherited from class org.apache.xml.security.utils.EncryptionElementProxy |
getBaseNamespace |
| Methods inherited from class org.apache.xml.security.utils.ElementProxy |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EncryptedKey(org.w3c.dom.Document doc,
EncryptionMethod encryptionMethod,
KeyInfo keyInfo,
CipherData cipherData,
EncryptionProperties encryptionProperties,
ReferenceList referenceList,
java.lang.String CarriedKeyName,
java.lang.String Id,
java.lang.String Type,
java.lang.String Recipient)
throws XMLSecurityException
doc - encryptionMethod - keyInfo - cipherData - encryptionProperties - referenceList - CarriedKeyName - Id - Type - Recipient -
XMLSecurityException
public EncryptedKey(org.w3c.dom.Document doc,
java.lang.String encryptionMethodURI,
EncryptionMethodParams encryptionMethodParams,
KeyInfo keyInfo,
java.security.Key contentKey,
java.security.Key wrapKey,
EncryptionProperties encryptionProperties,
ReferenceList referenceList,
java.lang.String CarriedKeyName,
java.lang.String Id,
java.lang.String Type,
java.lang.String Recipient)
throws XMLSecurityException
doc - encryptionMethodURI - encryptionMethodParams - keyInfo - contentKey - wrapKey - encryptionProperties - referenceList - CarriedKeyName - Id - Type - Recipient -
XMLSecurityException
public EncryptedKey(org.w3c.dom.Element element,
java.lang.String BaseURI)
throws XMLSecurityException
element - BaseURI -
XMLSecurityException| Method Detail |
public ReferenceList getReferenceList()
throws XMLSecurityException
XMLSecurityException
public void addDataReference(DataReference dataReference)
throws XMLSecurityException
dataReference -
XMLSecurityException
public void addKeyReference(KeyReference keyReference)
throws XMLSecurityException
keyReference -
XMLSecurityException
public int getLengthDataReference()
throws XMLSecurityException
XMLSecurityException
public int getLengthKeyReference()
throws XMLSecurityException
XMLSecurityException
public DataReference itemDataReference(int i)
throws XMLSecurityException
i -
XMLSecurityException
public KeyReference itemKeyReference(int i)
throws XMLSecurityException
i -
XMLSecurityException
public void setCarriedKeyName(java.lang.String carriedKeyName)
throws XMLSecurityException
carriedKeyName -
XMLSecurityException
public CarriedKeyName getCarriedKeyName()
throws XMLSecurityException
XMLSecurityExceptionpublic java.lang.String getRecipient()
public void setRecipient(java.lang.String recipient)
recipient -
public EncryptionMethod getEncryptionMethod()
throws XMLSecurityException
getEncryptionMethod in interface EncryptedTypeXMLSecurityException
public KeyInfo getKeyInfo()
throws XMLSecurityException
getKeyInfo in interface EncryptedTypeXMLSecurityException
public CipherData getCipherData()
throws XMLSecurityException
getCipherData in interface EncryptedTypeXMLSecurityException
public EncryptionProperties getEncryptionProperties()
throws XMLSecurityException
getEncryptionProperties in interface EncryptedTypeXMLSecurityExceptionpublic void setId(java.lang.String Id)
Id attribute
Id - IDpublic java.lang.String getId()
Id attribute
getId in interface EncryptedTypeId attributepublic void setType(java.lang.String Type)
Type attribute
Type - public java.lang.String getType()
getType in interface EncryptedTypepublic boolean getTypeIsElement()
getTypeIsElement in interface EncryptedTypepublic boolean getTypeIsContent()
getTypeIsContent in interface EncryptedTypepublic boolean getTypeIsMediaType()
getTypeIsMediaType in interface EncryptedTypepublic java.lang.String getMediaTypeOfType()
getMediaTypeOfType in interface EncryptedTypepublic java.lang.String getBaseLocalName()
getBaseLocalName in class ElementProxy
public java.security.Key unwrap(java.security.Key wrapKey,
java.lang.String wrappedKeyAlgoURI)
throws XMLSecurityException
XMLSecurityException
public static void main(java.lang.String[] unused)
throws java.lang.Exception
unused -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||