package org.bouncycastle.asn1.cms;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class IssuerAndSerialNumber extends org.bouncycastle.asn1.ASN1Object {
    private org.bouncycastle.asn1.x500.X500Name a;
    private org.bouncycastle.asn1.ASN1Integer b;

    public IssuerAndSerialNumber(org.bouncycastle.asn1.x509.Certificate certificate) {
        this.a = certificate.q();
        this.b = certificate.r();
    }

    @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.x500.X500Name n() {
        return this.a;
    }

    public org.bouncycastle.asn1.ASN1Integer o() {
        return this.b;
    }
}
