Class BlockEncryptionDESede
- java.lang.Object
-
- org.opensaml.xmlsec.algorithm.descriptors.BlockEncryptionDESede
-
- All Implemented Interfaces:
AlgorithmDescriptor,BlockEncryptionAlgorithm,KeyLengthSpecifiedAlgorithm,KeySpecifiedAlgorithm
public final class BlockEncryptionDESede extends Object implements BlockEncryptionAlgorithm
Algorithm descriptor for block encryption algorithm: DESede-CBC.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
AlgorithmDescriptor.AlgorithmType
-
-
Constructor Summary
Constructors Constructor Description BlockEncryptionDESede()
-
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 @NotEmpty public String getKey()
Get the JCA key type specified by this algorithm.- Specified by:
getKeyin interfaceKeySpecifiedAlgorithm- Returns:
- the key type
-
getURI
@Nonnull @NotEmpty 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 @NotEmpty 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 @NotEmpty public String getCipherMode()
Get the JCA cipher mode specified by this algorithm.- Specified by:
getCipherModein interfaceBlockEncryptionAlgorithm- Returns:
- the cipher mode
-
getPadding
@Nonnull @NotEmpty public String getPadding()
Get the JCA padding algorithm specified by this algorithm.- Specified by:
getPaddingin interfaceBlockEncryptionAlgorithm- Returns:
- the padding algorithm
-
-