public interface JsonWebSignatureAlgorithm extends Algorithm
Modifier and Type | Method and Description |
---|---|
byte[] |
sign(Key key,
byte[] securedInputBytes) |
void |
validateSigningKey(Key key) |
void |
validateVerificationKey(Key key) |
boolean |
verifySignature(byte[] signatureBytes,
Key key,
byte[] securedInputBytes) |
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, isAvailable
boolean verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes) throws JoseException
JoseException
byte[] sign(Key key, byte[] securedInputBytes) throws JoseException
JoseException
void validateSigningKey(Key key) throws InvalidKeyException
InvalidKeyException
void validateVerificationKey(Key key) throws InvalidKeyException
InvalidKeyException
Copyright © 2015. All rights reserved.