org.bouncycastle.asn1.mozilla

Class PublicKeyAndChallenge

Implemented Interfaces:
DEREncodable

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

DERIA5String
getChallenge()
static PublicKeyAndChallenge
getInstance(Object obj)
SubjectPublicKeyInfo
getSubjectPublicKeyInfo()
DERObject
toASN1Object()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

PublicKeyAndChallenge

public PublicKeyAndChallenge(ASN1Sequence seq)

Method Details

getChallenge

public DERIA5String getChallenge()


getInstance

public static PublicKeyAndChallenge getInstance(Object obj)


getSubjectPublicKeyInfo

public SubjectPublicKeyInfo getSubjectPublicKeyInfo()


toASN1Object

public DERObject toASN1Object()
Overrides:
toASN1Object in interface ASN1Encodable