public class RsaUsingShaAlgorithm extends BaseSignatureAlgorithm implements JsonWebSignatureAlgorithm
Modifier and Type | Class and Description |
---|---|
static class |
RsaUsingShaAlgorithm.RsaPssSha256 |
static class |
RsaUsingShaAlgorithm.RsaPssSha384 |
static class |
RsaUsingShaAlgorithm.RsaPssSha512 |
static class |
RsaUsingShaAlgorithm.RsaSha256 |
static class |
RsaUsingShaAlgorithm.RsaSha384 |
static class |
RsaUsingShaAlgorithm.RsaSha512 |
log
Constructor and Description |
---|
RsaUsingShaAlgorithm(String id,
String javaAlgo) |
Modifier and Type | Method and Description |
---|---|
void |
validatePrivateKey(PrivateKey privateKey) |
void |
validatePublicKey(PublicKey key) |
isAvailable, setAlgorithmParameterSpec, sign, validateSigningKey, validateVerificationKey, verifySignature
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, setAlgorithmIdentifier, setJavaAlgorithm, setKeyPersuasion, setKeyType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sign, validateSigningKey, validateVerificationKey, verifySignature
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, isAvailable
public void validatePublicKey(PublicKey key) throws InvalidKeyException
validatePublicKey
in class BaseSignatureAlgorithm
InvalidKeyException
public void validatePrivateKey(PrivateKey privateKey) throws InvalidKeyException
validatePrivateKey
in class BaseSignatureAlgorithm
InvalidKeyException
Copyright © 2016. All rights reserved.