PublicKeyAndChallenge ::= SEQUENCE {
spki SubjectPublicKeyInfo,
challenge IA5STRING
}
SignedPublicKeyAndChallenge ::= SEQUENCE {
publicKeyAndChallenge PublicKeyAndChallenge,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING
}
| Modifier and Type | Field and Description |
|---|---|
| protected final SignedPublicKeyAndChallenge |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public byte[] | getEncoded()
Implements org. Return a byte array representing the implementing object. |
| public PublicKey | |
| public PublicKeyAndChallenge | |
| public SubjectPublicKeyInfo | |
| public boolean | |
| public ASN1Primitive | |
| public SignedPublicKeyAndChallenge | Returns: a SignedPublicKeyAndChallenge object.Return the underlying ASN.1 structure for this challenge. |
| public boolean | |
| public boolean |
| spkacSeq | back to summary |
|---|---|
| protected final SignedPublicKeyAndChallenge spkacSeq | |
| SignedPublicKeyAndChallenge | back to summary |
|---|---|
| public SignedPublicKeyAndChallenge(byte[] bytes) | |
| SignedPublicKeyAndChallenge | back to summary |
|---|---|
| protected SignedPublicKeyAndChallenge(SignedPublicKeyAndChallenge struct) | |
| getChallenge | back to summary |
|---|---|
| public String getChallenge() | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Doc from org. Return a byte array representing the implementing object.
| |
| getPublicKey | back to summary |
|---|---|
| public PublicKey getPublicKey(String provider) throws NoSuchAlgorithmException, NoSuchProviderException, InvalidKeyException
Deprecated use JcaSignedPublicKeyAndChallenge.getPublicKey() | |
| getPublicKeyAndChallenge | back to summary |
|---|---|
| public PublicKeyAndChallenge getPublicKeyAndChallenge() | |
| getSubjectPublicKeyInfo | back to summary |
|---|---|
| public SubjectPublicKeyInfo getSubjectPublicKeyInfo() | |
| isSignatureValid | back to summary |
|---|---|
| public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws OperatorCreationException, IOException | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive()
Deprecated use toASN1Structure | |
| toASN1Structure | back to summary |
|---|---|
| public SignedPublicKeyAndChallenge toASN1Structure() Return the underlying ASN.1 structure for this challenge.
| |
| verify | back to summary |
|---|---|
| public boolean verify() throws NoSuchAlgorithmException, SignatureException, NoSuchProviderException, InvalidKeyException
Deprecated use ContentVerifierProvider method | |
| verify | back to summary |
|---|---|
| public boolean verify(String provider) throws NoSuchAlgorithmException, SignatureException, NoSuchProviderException, InvalidKeyException
Deprecated use ContentVerifierProvider method | |