package org.bouncycastle.asn1.crmf;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class EncryptedValue extends org.bouncycastle.asn1.ASN1Object {
    private org.bouncycastle.asn1.x509.AlgorithmIdentifier a;
    private org.bouncycastle.asn1.x509.AlgorithmIdentifier b;
    private org.bouncycastle.asn1.ASN1BitString c;
    private org.bouncycastle.asn1.x509.AlgorithmIdentifier d;
    private org.bouncycastle.asn1.ASN1OctetString e;
    private org.bouncycastle.asn1.ASN1BitString f;

    private void n(org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector, int i, org.bouncycastle.asn1.ASN1Encodable aSN1Encodable) {
        if (aSN1Encodable != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, i, aSN1Encodable));
        }
    }

    @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(6);
        n(aSN1EncodableVector, 0, this.a);
        n(aSN1EncodableVector, 1, this.b);
        n(aSN1EncodableVector, 2, this.c);
        n(aSN1EncodableVector, 3, this.d);
        n(aSN1EncodableVector, 4, this.e);
        aSN1EncodableVector.a(this.f);
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
