Class SignatureBaseBuilder
java.lang.Object
com.authlete.hms.SignatureBaseBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureBaseBuilder
(SignatureContext context) A constructor with a signature context. -
Method Summary
Modifier and TypeMethodDescriptionbuild
(SignatureMetadata metadata) Build a signature base based on the specified signature metadata.Get the signature context passed to the constructor.
-
Constructor Details
-
SignatureBaseBuilder
A constructor with a signature context.- Parameters:
context
- A signature context.- Throws:
IllegalArgumentException
- The signature context is null.
-
-
Method Details
-
getContext
Get the signature context passed to the constructor.- Returns:
- The signature context.
-
build
Build a signature base based on the specified signature metadata.- Parameters:
metadata
- Signature metadata.- Returns:
- Signature base.
- Throws:
SignatureException
- Failed to create a signature base.IllegalArgumentException
- The signature metadata is null.
-