this.responseType = responseType; this.response = response;
responseType = (DERObjectIdentifier)seq.getObjectAt(0); response = (ASN1OctetString)seq.getObjectAt(1);
return getInstance(ASN1Sequence.getInstance(obj, explicit));
if (obj == null || obj instanceof ResponseBytes) { return (ResponseBytes)obj; } else if (obj instanceof ASN1Sequence) { return new ResponseBytes((ASN1Sequence)obj); } throw new IllegalArgumentException("unknown object in factory");
return response;
return responseType;
Produce an object suitable for an ASN1OutputStream. ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING } ASN1EncodableVector v = new ASN1EncodableVector(); v.add(responseType); v.add(response); return new DERSequence(v);
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(responseType); v.add(response); return new DERSequence(v);