package org.bouncycastle.asn1.x509; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.ASN1Primitive; /* loaded from: classes6.dex */ public class CertPolicyId extends ASN1Object { private ASN1ObjectIdentifier id; @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable public ASN1Primitive toASN1Primitive() { return this.id; } public String getId() { return this.id.getId(); } public static CertPolicyId getInstance(Object obj) { if (obj instanceof CertPolicyId) { return (CertPolicyId) obj; } if (obj != null) { return new CertPolicyId(ASN1ObjectIdentifier.getInstance(obj)); } return null; } private CertPolicyId(ASN1ObjectIdentifier aSN1ObjectIdentifier) { this.id = aSN1ObjectIdentifier; } }