package org.bouncycastle.asn1.ocsp;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class ResponseBytes extends org.bouncycastle.asn1.ASN1Object {
    org.bouncycastle.asn1.ASN1ObjectIdentifier a;
    org.bouncycastle.asn1.ASN1OctetString b;

    private ResponseBytes(org.bouncycastle.asn1.ASN1Sequence aSN1Sequence) {
        this.a = (org.bouncycastle.asn1.ASN1ObjectIdentifier) aSN1Sequence.B(0);
        this.b = (org.bouncycastle.asn1.ASN1OctetString) aSN1Sequence.B(1);
    }

    public static org.bouncycastle.asn1.ocsp.ResponseBytes n(java.lang.Object obj) {
        if (obj instanceof org.bouncycastle.asn1.ocsp.ResponseBytes) {
            return (org.bouncycastle.asn1.ocsp.ResponseBytes) obj;
        }
        if (obj != null) {
            return new org.bouncycastle.asn1.ocsp.ResponseBytes(org.bouncycastle.asn1.ASN1Sequence.z(obj));
        }
        return null;
    }

    public static org.bouncycastle.asn1.ocsp.ResponseBytes o(org.bouncycastle.asn1.ASN1TaggedObject aSN1TaggedObject, boolean z) {
        return n(org.bouncycastle.asn1.ASN1Sequence.A(aSN1TaggedObject, z));
    }

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        return new org.bouncycastle.asn1.DERSequence(this.a, this.b);
    }

    public org.bouncycastle.asn1.ASN1OctetString p() {
        return this.b;
    }

    public org.bouncycastle.asn1.ASN1ObjectIdentifier q() {
        return this.a;
    }
}
