Class SymmetricKeyWrapAES128
- java.lang.Object
-
- org.opensaml.xmlsec.algorithm.descriptors.SymmetricKeyWrapAES128
-
- All Implemented Interfaces:
AlgorithmDescriptor,KeyLengthSpecifiedAlgorithm,KeySpecifiedAlgorithm,SymmetricKeyWrapAlgorithm
public final class SymmetricKeyWrapAES128 extends Object implements SymmetricKeyWrapAlgorithm
Algorithm descriptor for symmetric key wrap algorithm: AES-128.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
AlgorithmDescriptor.AlgorithmType
-
-
Constructor Summary
Constructors Constructor Description SymmetricKeyWrapAES128()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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
-
-