PublicKeyAndChallenge ::= SEQUENCE { spki SubjectPublicKeyInfo, challenge IA5STRING }
pkacSeq = seq; spki = SubjectPublicKeyInfo.getInstance(seq.getObjectAt(0)); challenge = DERIA5String.getInstance(seq.getObjectAt(1));
return challenge;
if (obj instanceof PublicKeyAndChallenge) { return (PublicKeyAndChallenge)obj; } else if (obj instanceof ASN1Sequence) { return new PublicKeyAndChallenge((ASN1Sequence)obj); } throw new IllegalArgumentException("unkown object in factory");
return spki;
return pkacSeq;