|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLEncryptContext
Contains context information for encrypting XML EncryptedType
structures. This interface is primarily intended for type-safety.
EncryptedType.encrypt(javax.xml.crypto.enc.XMLEncryptContext)
Method Summary | |
---|---|
EncryptionMethod |
getEncryptionMethod()
Returns the EncryptionMethod for encryption if an EncryptionMethod will not be present in the EncryptedType |
javax.crypto.spec.IvParameterSpec |
getIvParameterSpec()
Returns the IvParameterSpec to be use for block encryption if an initialization vector is needed. |
void |
setEncryptionMethod(EncryptionMethod encMethod)
Specifies the EncryptionMethod for encryption if an EncryptionMethod will not be present in the EncryptedType |
void |
setIvParameterSpec(javax.crypto.spec.IvParameterSpec ivSpec)
Specifies the IvParameterSpec for block encryption if an initialization vector is needed. |
Methods inherited from interface javax.xml.crypto.XMLCryptoContext |
---|
get, getBaseURI, getDefaultNamespacePrefix, getKeySelector, getNamespacePrefix, getProperty, getURIDereferencer, put, putNamespacePrefix, setBaseURI, setDefaultNamespacePrefix, setKeySelector, setProperty, setURIDereferencer |
Method Detail |
---|
EncryptionMethod getEncryptionMethod()
void setEncryptionMethod(EncryptionMethod encMethod)
encMethod
- the EncryptionMethod for encryptionjavax.crypto.spec.IvParameterSpec getIvParameterSpec()
void setIvParameterSpec(javax.crypto.spec.IvParameterSpec ivSpec)
ivSpec
- the initialization vector for block encryption
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |