Skip navigation links 
 
oracle.security.xmlsec.transform
Class DecryptTransform
java.lang.Object
   oracle.security.xmlsec.transform.XSTransformer
oracle.security.xmlsec.transform.XSTransformer
       oracle.security.xmlsec.transform.DecryptTransform
oracle.security.xmlsec.transform.DecryptTransform
- 
public class DecryptTransform
 
- extends XSTransformer
Internal use only. Applies the XML Decryption Transform.
Note: This transform relies on proper configuration of the KeyRetriever facilities so that decryption keys may be obtained using the contents of any dsig:KeyInfo elements found in the xenc:EncrypteData.
- Since:
- 1.3
 
 
  
 
  
 
| Method Summary | 
|  java.lang.String | getAlgorithmURI()Returns the URI string identifying the Transform algorithm.
 | 
|  XMLContainer | transform(XMLContainer source)Applies a Decryption transformation to the given
 XMLContainerand returns the result in a newXMLContainer. | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
DecryptTransform
public DecryptTransform(XSAlgorithmIdentifier trans)
- Creates a new DecryptTransforminstance.
- Parameters:
- trans- A- XSAlgorithmIdentifierobject containing an optional list of- dcrpt:Exceptelements.
- Throws:
- java.lang.IllegalArgumentException- If the- XSAlgorithmIdentifieris not a valid Decryption Transform.
 
getAlgorithmURI
public java.lang.String getAlgorithmURI()
- Description copied from class: XSTransformer
- Returns the URI string identifying the Transform algorithm.
- 
- Specified by:
- getAlgorithmURIin class- XSTransformer
 
- 
- Returns:
- This Transform's URI string.
 
transform
public XMLContainer transform(XMLContainer source)
                       throws TransformationException
- Applies a Decryption transformation to the given XMLContainerand returns the result in a newXMLContainer.
- 
- Specified by:
- transformin class- XSTransformer
 
- 
- Parameters:
- source- A- XMLContaineron which the transform will operate.
- Returns:
- A XMLContainercontaining the transform result, which will be a node-set if the algoritym URI isXMLURI.alg_decryptXML, or an octet stream if the algorithm URI isXMLURI.alg_decryptBinary.
- Throws:
- TransformationException- If an error occurs during the transformation process.
 
Skip navigation links 
 
Copyright © 2005, 2013 , Oracle. All rights reserved.