public interface JWSSigner extends JWSAlgorithmProvider
Callers can query the signer to determine its algorithm capabilities.
| Modifier and Type | Method and Description |
|---|---|
Base64URL |
sign(JWSHeader header,
byte[] signingInput)
Signs the specified
input of a
JWS object. |
supportedAlgorithmssetProviderBase64URL sign(JWSHeader header, byte[] signingInput) throws JOSEException
input of a
JWS object.header - The JSON Web Signature (JWS) header. Must
specify a supported JWS algorithm and must not
be null.signingInput - The input to sign. Must not be null.JOSEException - If the JWS algorithm is not supported or if
signing failed for some other reason.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.