public class SignedPublicKeyAndChallenge extends ASN1Encodable
PublicKeyAndChallenge ::= SEQUENCE {
spki SubjectPublicKeyInfo,
challenge IA5STRING
}
SignedPublicKeyAndChallenge ::= SEQUENCE {
publicKeyAndChallenge PublicKeyAndChallenge,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING
}
BER, DER| Constructor and Description |
|---|
SignedPublicKeyAndChallenge(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
getPublicKey(String provider) |
PublicKeyAndChallenge |
getPublicKeyAndChallenge() |
DERObject |
toASN1Object() |
boolean |
verify() |
boolean |
verify(String provider) |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic DERObject toASN1Object()
toASN1Object in class ASN1Encodablepublic PublicKeyAndChallenge getPublicKeyAndChallenge()
public boolean verify()
throws NoSuchAlgorithmException,
SignatureException,
NoSuchProviderException,
InvalidKeyException
public boolean verify(String provider) throws NoSuchAlgorithmException, SignatureException, NoSuchProviderException, InvalidKeyException
public PublicKey getPublicKey(String provider) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeyException
Copyright © 2015. All rights reserved.