org.bouncycastle.asn1.mozilla

Class PublicKeyAndChallenge

public class PublicKeyAndChallenge extends ASN1Encodable

This is designed to parse the PublicKeyAndChallenge created by the KEYGEN tag included by Mozilla based browsers.
  PublicKeyAndChallenge ::= SEQUENCE {
    spki SubjectPublicKeyInfo,
    challenge IA5STRING
  }

  
Constructor Summary
PublicKeyAndChallenge(ASN1Sequence seq)
Method Summary
DERIA5StringgetChallenge()
static PublicKeyAndChallengegetInstance(Object obj)
SubjectPublicKeyInfogetSubjectPublicKeyInfo()
DERObjecttoASN1Object()

Constructor Detail

PublicKeyAndChallenge

public PublicKeyAndChallenge(ASN1Sequence seq)

Method Detail

getChallenge

public DERIA5String getChallenge()

getInstance

public static PublicKeyAndChallenge getInstance(Object obj)

getSubjectPublicKeyInfo

public SubjectPublicKeyInfo getSubjectPublicKeyInfo()

toASN1Object

public DERObject toASN1Object()