org.apache.xml.security.algorithms.encryption.implementations.BC
Class KeyTransportImpl_RSAOAEP_BC

java.lang.Object
  |
  +--org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi
        |
        +--org.apache.xml.security.algorithms.encryption.implementations.BC.KeyTransportImpl
              |
              +--org.apache.xml.security.algorithms.encryption.implementations.BC.KeyTransportImpl_RSAOAEP_BC

public class KeyTransportImpl_RSAOAEP_BC
extends KeyTransportImpl

Author:
$Author: geuerp $

Field Summary
 
Fields inherited from class org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi
ALGOTYPE_BLOCK_ENCRYPTION, ALGOTYPE_KEY_AGREEMENT, ALGOTYPE_KEY_TRANSPORT, ALGOTYPE_STREAM_ENCRYPTION, ALGOTYPE_SYMMETRIC_KEY_WRAP
 
Constructor Summary
KeyTransportImpl_RSAOAEP_BC()
           
 
Method Summary
 int engineGetBlockSize()
          Method engineGetBlockSize
 int engineGetIvLength()
          Method engineGetIvLength
 EncryptionMethodParams engineInit(org.w3c.dom.Document doc, EncryptionMethodParams params)
          Method engineInit
 EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem)
           
 java.security.Key engineUnwrap(byte[] wrappedKey, java.security.Key wrapKey, java.lang.String wrappedKeyAlgoURI)
          Method engineUnwrap
 byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey)
          Method engineWrap
 java.lang.String getImplementedAlgorithmURI()
          Method getImplementedAlgorithmURI
 
Methods inherited from class org.apache.xml.security.algorithms.encryption.implementations.BC.KeyTransportImpl
engineDecrypt, engineEncrypt, engineEncrypt, engineWrap, getImplementedAlgorithmType, getRequiredProviderName
 
Methods inherited from class org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi
getImplementedAlgorithmJCE, getRequiredProviderAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyTransportImpl_RSAOAEP_BC

public KeyTransportImpl_RSAOAEP_BC()
Method Detail

engineGetIvLength

public int engineGetIvLength()
Method engineGetIvLength

Specified by:
engineGetIvLength in class EncryptionMethodSpi
Returns:

getImplementedAlgorithmURI

public java.lang.String getImplementedAlgorithmURI()
Method getImplementedAlgorithmURI

Specified by:
getImplementedAlgorithmURI in class EncryptionMethodSpi
Returns:

engineGetBlockSize

public int engineGetBlockSize()
Method engineGetBlockSize

Specified by:
engineGetBlockSize in class EncryptionMethodSpi
Returns:

engineInit

public EncryptionMethodParams engineInit(org.w3c.dom.Document doc,
                                         EncryptionMethodParams params)
                                  throws XMLSecurityException
Method engineInit

Specified by:
engineInit in class EncryptionMethodSpi
Parameters:
doc -
params -
Throws:
XMLSecurityException

engineInit

public EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem)
                                  throws XMLSecurityException
Specified by:
engineInit in class EncryptionMethodSpi
XMLSecurityException

engineWrap

public byte[] engineWrap(java.security.Key contentKey,
                         java.security.Key wrapKey)
                  throws XMLSecurityException
Method engineWrap

Specified by:
engineWrap in class EncryptionMethodSpi
Parameters:
contentKey -
wrapKey -
Returns:
Throws:
XMLSecurityException

engineUnwrap

public java.security.Key engineUnwrap(byte[] wrappedKey,
                                      java.security.Key wrapKey,
                                      java.lang.String wrappedKeyAlgoURI)
                               throws XMLSecurityException
Method engineUnwrap

Specified by:
engineUnwrap in class EncryptionMethodSpi
Parameters:
wrappedKey -
wrapKey -
wrappedKeyAlgoURI -
Returns:
Throws:
XMLSecurityException