package org.bouncycastle.asn1.pkcs;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class EncryptionScheme extends org.bouncycastle.asn1.ASN1Object {
    private org.bouncycastle.asn1.x509.AlgorithmIdentifier a;

    public EncryptionScheme(org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier) {
        this.a = new org.bouncycastle.asn1.x509.AlgorithmIdentifier(aSN1ObjectIdentifier);
    }

    public static org.bouncycastle.asn1.pkcs.EncryptionScheme o(java.lang.Object obj) {
        if (obj instanceof org.bouncycastle.asn1.pkcs.EncryptionScheme) {
            return (org.bouncycastle.asn1.pkcs.EncryptionScheme) obj;
        }
        if (obj != null) {
            return new org.bouncycastle.asn1.pkcs.EncryptionScheme(org.bouncycastle.asn1.ASN1Sequence.z(obj));
        }
        return null;
    }

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        return this.a.j();
    }

    public org.bouncycastle.asn1.ASN1ObjectIdentifier n() {
        return this.a.n();
    }

    public org.bouncycastle.asn1.ASN1Encodable p() {
        return this.a.q();
    }

    public EncryptionScheme(org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier, org.bouncycastle.asn1.ASN1Encodable aSN1Encodable) {
        this.a = new org.bouncycastle.asn1.x509.AlgorithmIdentifier(aSN1ObjectIdentifier, aSN1Encodable);
    }

    private EncryptionScheme(org.bouncycastle.asn1.ASN1Sequence aSN1Sequence) {
        this.a = org.bouncycastle.asn1.x509.AlgorithmIdentifier.o(aSN1Sequence);
    }
}
