package org.bouncycastle.asn1.crmf;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class EncryptedKey extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice {
    private org.bouncycastle.asn1.cms.EnvelopedData a;
    private org.bouncycastle.asn1.crmf.EncryptedValue b;

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        org.bouncycastle.asn1.crmf.EncryptedValue encryptedValue = this.b;
        return encryptedValue != null ? encryptedValue.j() : new org.bouncycastle.asn1.DERTaggedObject(false, 0, this.a);
    }
}
