Package org.spongycastle.asn1.mozilla
Class PublicKeyAndChallenge
java.lang.Object
org.spongycastle.asn1.ASN1Object
org.spongycastle.asn1.mozilla.PublicKeyAndChallenge
- All Implemented Interfaces:
org.spongycastle.asn1.ASN1Encodable,org.spongycastle.util.Encodable
public class PublicKeyAndChallenge
extends org.spongycastle.asn1.ASN1Object
This is designed to parse
the PublicKeyAndChallenge created by the KEYGEN tag included by
Mozilla based browsers.
PublicKeyAndChallenge ::= SEQUENCE {
spki SubjectPublicKeyInfo,
challenge IA5STRING
}
-
Method Summary
Modifier and TypeMethodDescriptionorg.spongycastle.asn1.DERIA5StringDeprecated.org.spongycastle.asn1.ASN1IA5Stringstatic PublicKeyAndChallengegetInstance(Object obj) org.spongycastle.asn1.x509.SubjectPublicKeyInfoorg.spongycastle.asn1.ASN1PrimitiveMethods inherited from class org.spongycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Method Details
-
getInstance
-
toASN1Primitive
public org.spongycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.spongycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.spongycastle.asn1.ASN1Object
-
getSubjectPublicKeyInfo
public org.spongycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo() -
getChallenge
public org.spongycastle.asn1.DERIA5String getChallenge()Deprecated.UsegetChallengeIA5()instead. -
getChallengeIA5
public org.spongycastle.asn1.ASN1IA5String getChallengeIA5()
-
getChallengeIA5()instead.