|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.EncryptionElementProxy
org.apache.xml.security.encryption.EncryptedData
org.globus.ogsa.impl.security.authentication.GSSEncryptedData
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 | |
GSSEncryptedData(org.w3c.dom.Document doc,
org.apache.xml.security.algorithms.encryption.EncryptionMethod encryptionMethod,
org.apache.xml.security.keys.KeyInfo keyInfo,
org.apache.xml.security.encryption.CipherData cipherData,
org.apache.xml.security.encryption.EncryptionProperties encryptionProperties,
java.lang.String Id,
java.lang.String Type)
Constructor GSSEncryptedData |
|
GSSEncryptedData(org.w3c.dom.Document doc,
java.lang.String encryptionMethod,
org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams encryptionMethodParams,
org.apache.xml.security.keys.KeyInfo keyInfo,
org.apache.xml.security.encryption.CipherData cipherData,
org.apache.xml.security.encryption.EncryptionProperties encryptionProperties,
java.lang.String Id,
java.lang.String Type)
Constructor GSSEncryptedData |
|
GSSEncryptedData(org.w3c.dom.Document doc,
java.lang.String encryptionMethod,
org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams encryptionMethodParams,
org.apache.xml.security.keys.KeyInfo keyInfo,
org.apache.xml.security.encryption.EncryptionProperties encryptionProperties,
java.lang.String Id)
Constructor GSSEncryptedData |
|
GSSEncryptedData(org.w3c.dom.Element element,
java.lang.String BaseURI)
Constructor GSSEncryptedData |
Method Summary | |
void |
decryptAndReplace(org.ietf.jgss.GSSContext context)
Method decryptAndReplace |
void |
encryptContentAndReplace(org.w3c.dom.Node firstPlaintextNode,
int length,
org.ietf.jgss.GSSContext context)
Encrypts some child Node s of a given Element . |
void |
encryptElementAndReplace(org.w3c.dom.Element plaintextElement,
org.ietf.jgss.GSSContext context)
Method encryptAndReplace |
java.lang.String |
getKeyInfoContextId()
|
Methods inherited from class org.apache.xml.security.encryption.EncryptedData |
createSecretKeyFromBytes, decryptAndReplace, encryptContentAndReplace, encryptContentAndReplace, encryptElementAndReplace, getBaseLocalName, getCipherData, getEncryptionMethod, getEncryptionProperties, getId, getKeyInfo, getMediaTypeOfType, getType, getTypeIsContent, getTypeIsElement, getTypeIsMediaType, main, min, min, replace, replace, replace, setId, setType |
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 GSSEncryptedData(org.w3c.dom.Document doc, org.apache.xml.security.algorithms.encryption.EncryptionMethod encryptionMethod, org.apache.xml.security.keys.KeyInfo keyInfo, org.apache.xml.security.encryption.CipherData cipherData, org.apache.xml.security.encryption.EncryptionProperties encryptionProperties, java.lang.String Id, java.lang.String Type) throws org.apache.xml.security.exceptions.XMLSecurityException
doc
- encryptionMethod
- keyInfo
- cipherData
- encryptionProperties
- Id
- Type
-
org.apache.xml.security.exceptions.XMLSecurityException
public GSSEncryptedData(org.w3c.dom.Document doc, java.lang.String encryptionMethod, org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams encryptionMethodParams, org.apache.xml.security.keys.KeyInfo keyInfo, org.apache.xml.security.encryption.EncryptionProperties encryptionProperties, java.lang.String Id) throws org.apache.xml.security.exceptions.XMLSecurityException
doc
- encryptionMethod
- encryptionMethodParams
- keyInfo
- encryptionProperties
- Id
-
org.apache.xml.security.exceptions.XMLSecurityException
public GSSEncryptedData(org.w3c.dom.Document doc, java.lang.String encryptionMethod, org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams encryptionMethodParams, org.apache.xml.security.keys.KeyInfo keyInfo, org.apache.xml.security.encryption.CipherData cipherData, org.apache.xml.security.encryption.EncryptionProperties encryptionProperties, java.lang.String Id, java.lang.String Type) throws org.apache.xml.security.exceptions.XMLSecurityException
doc
- encryptionMethod
- encryptionMethodParams
- keyInfo
- cipherData
- encryptionProperties
- Id
- Type
-
org.apache.xml.security.exceptions.XMLSecurityException
public GSSEncryptedData(org.w3c.dom.Element element, java.lang.String BaseURI) throws org.apache.xml.security.exceptions.XMLSecurityException
element
- BaseURI
-
org.apache.xml.security.exceptions.XMLSecurityException
Method Detail |
public void encryptElementAndReplace(org.w3c.dom.Element plaintextElement, org.ietf.jgss.GSSContext context) throws org.apache.xml.security.exceptions.XMLSecurityException
plaintextElement
- context
-
org.apache.xml.security.exceptions.XMLSecurityException
public void encryptContentAndReplace(org.w3c.dom.Node firstPlaintextNode, int length, org.ietf.jgss.GSSContext context) throws org.apache.xml.security.exceptions.XMLSecurityException
Node
s of a given Element
.
firstPlaintextNode
- the first Node to be encryptedlength
- the total number of Nodes to be encrypted
(the firstPlaintextNode and (length-1) next siblings)context
- the context which is used to encrypt the data
org.apache.xml.security.exceptions.XMLSecurityException
public void decryptAndReplace(org.ietf.jgss.GSSContext context) throws org.apache.xml.security.exceptions.XMLSecurityException
context
-
org.apache.xml.security.exceptions.XMLSecurityException
public java.lang.String getKeyInfoContextId() throws org.apache.xml.security.exceptions.XMLSecurityException
org.apache.xml.security.exceptions.XMLSecurityException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |