Class HMACSHA1
- java.lang.Object
-
- org.opensaml.xmlsec.algorithm.descriptors.HMACSHA1
-
- All Implemented Interfaces:
AlgorithmDescriptor
,MACAlgorithm
public final class HMACSHA1 extends Object implements MACAlgorithm
Algorithm descriptor for MAC algorithm: HMAC SHA-1.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.algorithm.AlgorithmDescriptor
AlgorithmDescriptor.AlgorithmType
-
-
Constructor Summary
Constructors Constructor Description HMACSHA1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDigest()
Get the JCA digest algorithm specified by this algorithm.String
getJCAAlgorithmID()
Get the algorithm's JCA algorithm ID.AlgorithmDescriptor.AlgorithmType
getType()
Get the algorithm URI's fundamental type.String
getURI()
Get the algorithm's identifying URI.
-
-
-
Method Detail
-
getURI
@Nonnull 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 public String getJCAAlgorithmID()
Get the algorithm's JCA algorithm ID.- Specified by:
getJCAAlgorithmID
in interfaceAlgorithmDescriptor
- Returns:
- the JCA algorithm ID
-
getDigest
@Nonnull public String getDigest()
Get the JCA digest algorithm specified by this algorithm.- Specified by:
getDigest
in interfaceMACAlgorithm
- Returns:
- the digest algorithm
-
-