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 String
getCipherMode()
Get the JCA cipher mode specified by this algorithm.String
getJCAAlgorithmID()
Get the algorithm's JCA algorithm ID.String
getKey()
Get the JCA key type specified by this algorithm.Integer
getKeyLength()
Get the length of the key specified by this algorithm.String
getPadding()
Get the JCA padding algorithm specified by this algorithm.AlgorithmDescriptor.AlgorithmType
getType()
Get the algorithm URI's fundamental type.String
getURI()
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:
getKey
in interfaceKeySpecifiedAlgorithm
- Returns:
- the key type
-
getURI
@Nonnull @NotEmpty public String getURI()
Get the algorithm's identifying URI.- Specified by:
getURI
in interfaceAlgorithmDescriptor
- Returns:
- the algorithm URI
-
getType
@Nonnull public AlgorithmDescriptor.AlgorithmType getType()
Get the algorithm URI's fundamental type.- Specified by:
getType
in interfaceAlgorithmDescriptor
- Returns:
- a type specified with
AlgorithmDescriptor.AlgorithmType
-
getJCAAlgorithmID
@Nonnull @NotEmpty public String getJCAAlgorithmID()
Get the algorithm's JCA algorithm ID.- Specified by:
getJCAAlgorithmID
in interfaceAlgorithmDescriptor
- Returns:
- the JCA algorithm ID
-
getKeyLength
@Nonnull public Integer getKeyLength()
Get the length of the key specified by this algorithm.- Specified by:
getKeyLength
in interfaceKeyLengthSpecifiedAlgorithm
- Returns:
- the specified key length
-
getCipherMode
@Nonnull @NotEmpty public String getCipherMode()
Get the JCA cipher mode specified by this algorithm.- Specified by:
getCipherMode
in interfaceBlockEncryptionAlgorithm
- Returns:
- the cipher mode
-
getPadding
@Nonnull @NotEmpty public String getPadding()
Get the JCA padding algorithm specified by this algorithm.- Specified by:
getPadding
in interfaceBlockEncryptionAlgorithm
- Returns:
- the padding algorithm
-
-