public class VerificationKey extends CryptoKey
Constructor and Description |
---|
VerificationKey(SecretBuilder builder)
Initialises the key with the given secret data.
|
Modifier and Type | Method and Description |
---|---|
Signature |
getSignature()
Returns a signature object initialised for verification using a default algorithm for this key type.
|
Signature |
getSignature(String algorithm)
Returns a signature object initialised for verification.
|
allowsAlgorithm, close, export, getCertificate, getCertificate, getKeyAlgorithm, getKeyType, getKeyUsages, getPublicKey, getPublicKey, isExtractable
equals, getExpiryTime, getStableId, hashCode, isExpired, toString
public VerificationKey(SecretBuilder builder) throws NoSuchSecretException
builder
- the builder object.NoSuchSecretException
- if the secret could not be constructed from the builder.public Signature getSignature(String algorithm)
algorithm
- the signature algorithm.public Signature getSignature()
Copyright © 2010-2018, ForgeRock All Rights Reserved.