Class BlockEncryptionAES256CBC
- java.lang.Object
-
- org.opensaml.xmlsec.algorithm.descriptors.BlockEncryptionAES256CBC
-
- All Implemented Interfaces:
AlgorithmDescriptor,BlockEncryptionAlgorithm,KeyLengthSpecifiedAlgorithm,KeySpecifiedAlgorithm
public final class BlockEncryptionAES256CBC extends Object implements BlockEncryptionAlgorithm
Algorithm descriptor for block encryption algorithm: AES-256-CBC.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
AlgorithmDescriptor.AlgorithmType
-
-
Constructor Summary
Constructors Constructor Description BlockEncryptionAES256CBC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCipherMode()Get the JCA cipher mode specified by this algorithm.StringgetJCAAlgorithmID()Get the algorithm's JCA algorithm ID.StringgetKey()Get the JCA key type specified by this algorithm.IntegergetKeyLength()Get the length of the key specified by this algorithm.StringgetPadding()Get the JCA padding algorithm specified by this algorithm.AlgorithmDescriptor.AlgorithmTypegetType()Get the algorithm URI's fundamental type.StringgetURI()Get the algorithm's identifying URI.
-
-
-
Method Detail
-
getKey
@Nonnull public String getKey()
Get the JCA key type specified by this algorithm.- Specified by:
getKeyin interfaceKeySpecifiedAlgorithm- Returns:
- the key type
-
getURI
@Nonnull public String getURI()
Get the algorithm's identifying URI.- Specified by:
getURIin interfaceAlgorithmDescriptor- Returns:
- the algorithm URI
-
getType
@Nonnull public AlgorithmDescriptor.AlgorithmType getType()
Get the algorithm URI's fundamental type.- Specified by:
getTypein interfaceAlgorithmDescriptor- Returns:
- a type specified with
AlgorithmDescriptor.AlgorithmType
-
getJCAAlgorithmID
@Nonnull public String getJCAAlgorithmID()
Get the algorithm's JCA algorithm ID.- Specified by:
getJCAAlgorithmIDin interfaceAlgorithmDescriptor- Returns:
- the JCA algorithm ID
-
getKeyLength
@Nonnull public Integer getKeyLength()
Get the length of the key specified by this algorithm.- Specified by:
getKeyLengthin interfaceKeyLengthSpecifiedAlgorithm- Returns:
- the specified key length
-
getCipherMode
@Nonnull public String getCipherMode()
Get the JCA cipher mode specified by this algorithm.- Specified by:
getCipherModein interfaceBlockEncryptionAlgorithm- Returns:
- the cipher mode
-
getPadding
@Nonnull public String getPadding()
Get the JCA padding algorithm specified by this algorithm.- Specified by:
getPaddingin interfaceBlockEncryptionAlgorithm- Returns:
- the padding algorithm
-
-