package org.bouncycastle.asn1.cms.ecc;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class ECCCMSSharedInfo extends org.bouncycastle.asn1.ASN1Object {
    private final org.bouncycastle.asn1.x509.AlgorithmIdentifier a;
    private final byte[] b;
    private final byte[] 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);
        if (this.b != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, 0, new org.bouncycastle.asn1.DEROctetString(this.b)));
        }
        aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, 2, new org.bouncycastle.asn1.DEROctetString(this.c)));
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
