|
||||||||||
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.BlockEncryptionImpl
Field Summary | |
static boolean |
ENCRYPT_IV_IN_ECB
Field ENCRYPT_IV_IN_ECB |
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 | |
BlockEncryptionImpl()
|
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)
Method engineInit |
java.security.Key |
engineUnwrap(byte[] parm1,
java.security.Key parm2,
java.lang.String parm3)
Method engineUnwrap |
byte[] |
engineWrap(java.security.Key contentKey,
java.security.Key wrapKey)
Method engineWrap |
byte[] |
engineWrap(java.security.Key parm1,
java.security.Key parm2,
byte[] parm3)
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 |
Field Detail |
public static final boolean ENCRYPT_IV_IN_ECB
Constructor Detail |
public BlockEncryptionImpl()
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
encryptionMethodElem
-
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 parm1, java.security.Key parm2, byte[] parm3) throws XMLSecurityException
engineWrap
in class EncryptionMethodSpi
parm1
- parm2
- parm3
-
XMLSecurityException
public java.security.Key engineUnwrap(byte[] parm1, java.security.Key parm2, java.lang.String parm3) throws XMLSecurityException
engineUnwrap
in class EncryptionMethodSpi
parm1
- parm2
- parm3
-
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 |