|
||||||||||
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.KeyWrapImpl_AES_BC
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 | |
KeyWrapImpl_AES_BC()
|
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 |
int |
engineGetBlockSize()
Method engineGetBlockSize |
abstract 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 wrappedKeyURI)
Method engineUnwrap |
byte[] |
engineWrap(java.security.Key contentKey,
java.security.Key wrapKey)
Method engineWrap |
byte[] |
engineWrap(java.security.Key contentKey,
java.security.Key wrapKey,
byte[] IV)
Method engineWrap |
int |
getImplementedAlgorithmType()
Method getImplementedAlgorithmType |
abstract java.lang.String |
getImplementedAlgorithmURI()
Method getImplementedAlgorithmURI |
abstract java.lang.String |
getRequiredProviderName()
Method 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 |
public KeyWrapImpl_AES_BC()
Method Detail |
public abstract java.lang.String getRequiredProviderName()
getRequiredProviderName
in class EncryptionMethodSpi
public abstract java.lang.String getImplementedAlgorithmURI()
getImplementedAlgorithmURI
in class EncryptionMethodSpi
public int getImplementedAlgorithmType()
getImplementedAlgorithmType
in class EncryptionMethodSpi
public int engineGetBlockSize()
engineGetBlockSize
in class EncryptionMethodSpi
public abstract int engineGetIvLength()
engineGetIvLength
in class EncryptionMethodSpi
public EncryptionMethodParams engineInit(org.w3c.dom.Document doc, EncryptionMethodParams params) throws XMLSecurityException
engineInit
in class EncryptionMethodSpi
doc
- params
-
XMLSecurityException
public EncryptionMethodParams engineInit(org.w3c.dom.Element encryptionMethodElem) throws XMLSecurityException
engineInit
in class EncryptionMethodSpi
XMLSecurityException
public byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey) throws XMLSecurityException
engineWrap
in class EncryptionMethodSpi
contentKey
- wrapKey
-
XMLSecurityException
public byte[] engineWrap(java.security.Key contentKey, java.security.Key wrapKey, byte[] IV) throws XMLSecurityException
engineWrap
in class EncryptionMethodSpi
contentKey
- wrapKey
- IV
-
XMLSecurityException
public java.security.Key engineUnwrap(byte[] wrappedKey, java.security.Key wrapKey, java.lang.String wrappedKeyURI) throws XMLSecurityException
engineUnwrap
in class EncryptionMethodSpi
wrappedKey
- wrapKey
- wrappedKeyURI
-
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 |