|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi | +--org.apache.xml.security.algorithms.encryption.implementations.BC.KeyTransportImpl
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()
|
Method Summary | |
byte[] |
engineDecrypt(byte[] ciphertextBytes,
java.security.Key contentKey)
Method engineDecrypt |
byte[] |
engineEncrypt(byte[] plaintextBytes,
java.security.Key contentKey)
Method engineEncrypt |
byte[] |
engineEncrypt(byte[] plaintextBytes,
java.security.Key contentKey,
byte[] IV)
Method engineEncrypt |
byte[] |
engineWrap(java.security.Key contentKey,
java.security.Key wrapKey,
byte[] IV)
Method engineWrap |
int |
getImplementedAlgorithmType()
Method getImplementedAlgorithmType |
java.lang.String |
getRequiredProviderName()
Method getRequiredProviderName |
Methods inherited from class org.apache.xml.security.algorithms.encryption.EncryptionMethodSpi |
engineGetBlockSize, engineGetIvLength, engineInit, engineInit, engineUnwrap, engineWrap, getImplementedAlgorithmJCE, getImplementedAlgorithmURI, getRequiredProviderAvailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyTransportImpl()
Method Detail |
public java.lang.String getRequiredProviderName()
getRequiredProviderName
in class EncryptionMethodSpi
public int getImplementedAlgorithmType()
getImplementedAlgorithmType
in class EncryptionMethodSpi
public byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey, byte[] IV) throws XMLSecurityException
engineWrap
in class EncryptionMethodSpi
contentKey
- wrapKey
- IV
-
XMLSecurityException
public byte[] engineEncrypt(byte[] plaintextBytes, java.security.Key contentKey) throws XMLSecurityException
engineEncrypt
in class EncryptionMethodSpi
plaintextBytes
- contentKey
-
XMLSecurityException
public byte[] engineEncrypt(byte[] plaintextBytes, java.security.Key contentKey, byte[] IV) throws XMLSecurityException
engineEncrypt
in class EncryptionMethodSpi
plaintextBytes
- contentKey
- IV
-
XMLSecurityException
public byte[] engineDecrypt(byte[] ciphertextBytes, java.security.Key contentKey) throws XMLSecurityException
engineDecrypt
in class EncryptionMethodSpi
ciphertextBytes
- contentKey
-
XMLSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |