package org.bouncycastle.asn1.cmp;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class CertifiedKeyPair extends org.bouncycastle.asn1.ASN1Object {
    private final org.bouncycastle.asn1.cmp.CertOrEncCert a;
    private org.bouncycastle.asn1.crmf.EncryptedKey b;
    private org.bouncycastle.asn1.crmf.PKIPublicationInfo c;

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector = new org.bouncycastle.asn1.ASN1EncodableVector(3);
        aSN1EncodableVector.a(this.a);
        org.bouncycastle.asn1.crmf.EncryptedKey encryptedKey = this.b;
        if (encryptedKey != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, 0, encryptedKey));
        }
        org.bouncycastle.asn1.crmf.PKIPublicationInfo pKIPublicationInfo = this.c;
        if (pKIPublicationInfo != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, 1, pKIPublicationInfo));
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
