Package org.opensaml.xmlsec.algorithm
Interface BlockEncryptionAlgorithm
- All Superinterfaces:
AlgorithmDescriptor
,KeyLengthSpecifiedAlgorithm
,KeySpecifiedAlgorithm
- All Known Implementing Classes:
BlockEncryptionAES128CBC
,BlockEncryptionAES128GCM
,BlockEncryptionAES192CBC
,BlockEncryptionAES192GCM
,BlockEncryptionAES256CBC
,BlockEncryptionAES256GCM
,BlockEncryptionDESede
public interface BlockEncryptionAlgorithm
extends KeySpecifiedAlgorithm, KeyLengthSpecifiedAlgorithm
Interface for block encryption algorithm descriptors.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
AlgorithmDescriptor.AlgorithmType
-
Method Summary
Modifier and TypeMethodDescriptionGet the JCA cipher mode specified by this algorithm.Get the JCA padding algorithm specified by this algorithm.Methods inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
getJCAAlgorithmID, getType, getURI
Methods inherited from interface org.opensaml.xmlsec.algorithm.KeyLengthSpecifiedAlgorithm
getKeyLength
Methods inherited from interface org.opensaml.xmlsec.algorithm.KeySpecifiedAlgorithm
getKey
-
Method Details
-
getCipherMode
Get the JCA cipher mode specified by this algorithm.- Returns:
- the cipher mode
-
getPadding
Get the JCA padding algorithm specified by this algorithm.- Returns:
- the padding algorithm
-