org.apache.xml.security.algorithms.encryption.params
Class OAEPParams

java.lang.Object
  |
  +--org.apache.xml.security.algorithms.encryption.params.EncryptionMethodParams
        |
        +--org.apache.xml.security.algorithms.encryption.params.OAEPParams

public class OAEPParams
extends EncryptionMethodParams

Parameters for RSAES-OAEP-ENCRYPT from RFC 2437

Author:
$Author: vdkoogh $

Field Summary
static java.lang.String DEFAULT_DIGEST
          Field DEFAULT_DIGEST
 
Constructor Summary
OAEPParams(org.w3c.dom.Element encryptionMethodElem)
          Constructor OAEPParams
OAEPParams(java.lang.String digestMethodURI, byte[] OAEPParamBytes)
          Constructor OAEPParams
 
Method Summary
 org.w3c.dom.DocumentFragment createChildNodes(org.w3c.dom.Document doc)
          Method createChildNodes
 java.lang.String getAlgorithmURI()
          Method getAlgorithmURI
 java.lang.String getDigestMethodURI()
          Method getDigestMethodURI
 byte[] getOAEPParamBytes()
          Method getOAEPParamBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DIGEST

public static final java.lang.String DEFAULT_DIGEST
Field DEFAULT_DIGEST

See Also:
Constant Field Values
Constructor Detail

OAEPParams

public OAEPParams(java.lang.String digestMethodURI,
                  byte[] OAEPParamBytes)
Constructor OAEPParams

Parameters:
digestMethodURI -
OAEPParamBytes - encoding parameters, an octet string that may be empty

OAEPParams

public OAEPParams(org.w3c.dom.Element encryptionMethodElem)
           throws XMLSecurityException
Constructor OAEPParams

Parameters:
encryptionMethodElem -
Throws:
XMLSecurityException
Method Detail

getAlgorithmURI

public java.lang.String getAlgorithmURI()
Method getAlgorithmURI

Specified by:
getAlgorithmURI in class EncryptionMethodParams

getDigestMethodURI

public java.lang.String getDigestMethodURI()
Method getDigestMethodURI


getOAEPParamBytes

public byte[] getOAEPParamBytes()
Method getOAEPParamBytes


createChildNodes

public org.w3c.dom.DocumentFragment createChildNodes(org.w3c.dom.Document doc)
                                              throws XMLSecurityException
Method createChildNodes

Specified by:
createChildNodes in class EncryptionMethodParams
Parameters:
doc -
Throws:
XMLSecurityException