Package net.handle.hdllib.trust
Class JsonWebSignatureFactoryImpl
- java.lang.Object
-
- net.handle.hdllib.trust.JsonWebSignatureFactory
-
- net.handle.hdllib.trust.JsonWebSignatureFactoryImpl
-
public class JsonWebSignatureFactoryImpl extends JsonWebSignatureFactory
-
-
Constructor Summary
Constructors Constructor Description JsonWebSignatureFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonWebSignature
create(byte[] payload, java.security.PrivateKey privateKey)
JsonWebSignature
create(java.lang.String payload, java.security.PrivateKey privateKey)
JsonWebSignature
deserialize(java.lang.String serialization)
-
Methods inherited from class net.handle.hdllib.trust.JsonWebSignatureFactory
getInstance
-
-
-
-
Method Detail
-
create
public JsonWebSignature create(java.lang.String payload, java.security.PrivateKey privateKey) throws TrustException
- Specified by:
create
in classJsonWebSignatureFactory
- Throws:
TrustException
-
create
public JsonWebSignature create(byte[] payload, java.security.PrivateKey privateKey) throws TrustException
- Specified by:
create
in classJsonWebSignatureFactory
- Throws:
TrustException
-
deserialize
public JsonWebSignature deserialize(java.lang.String serialization) throws TrustException
- Specified by:
deserialize
in classJsonWebSignatureFactory
- Throws:
TrustException
-
-