public class

SignedPublicKeyAndChallenge

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.mozilla.SignedPublicKeyAndChallenge

Class Overview

This is designed to parse the SignedPublicKeyAndChallenge created by the KEYGEN tag included by Mozilla based browsers.

  PublicKeyAndChallenge ::= SEQUENCE {
    spki SubjectPublicKeyInfo,
    challenge IA5STRING
  }

  SignedPublicKeyAndChallenge ::= SEQUENCE {
    publicKeyAndChallenge PublicKeyAndChallenge,
    signatureAlgorithm AlgorithmIdentifier,
    signature BIT STRING
  }
  

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
SignedPublicKeyAndChallenge(byte[] bytes)
Public Methods
PublicKey getPublicKey(String provider)
PublicKeyAndChallenge getPublicKeyAndChallenge()
DERObject toASN1Object()
boolean verify(String provider)
boolean verify()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public SignedPublicKeyAndChallenge (byte[] bytes)

Public Methods

public PublicKeyAndChallenge getPublicKeyAndChallenge ()

public DERObject toASN1Object ()