Package net.handle.hdllib.trust
Class JsonWebSignatureFactory
- java.lang.Object
-
- net.handle.hdllib.trust.JsonWebSignatureFactory
-
- Direct Known Subclasses:
JsonWebSignatureFactoryImpl
public abstract class JsonWebSignatureFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JsonWebSignatureFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JsonWebSignature
create(byte[] payload, java.security.PrivateKey privateKey)
abstract JsonWebSignature
create(java.lang.String payload, java.security.PrivateKey privateKey)
abstract JsonWebSignature
deserialize(java.lang.String serialization)
static JsonWebSignatureFactory
getInstance()
-
-
-
Method Detail
-
create
public abstract JsonWebSignature create(java.lang.String payload, java.security.PrivateKey privateKey) throws TrustException
- Throws:
TrustException
-
create
public abstract JsonWebSignature create(byte[] payload, java.security.PrivateKey privateKey) throws TrustException
- Throws:
TrustException
-
deserialize
public abstract JsonWebSignature deserialize(java.lang.String serialization) throws TrustException
- Throws:
TrustException
-
getInstance
public static JsonWebSignatureFactory getInstance()
-
-