Home
last modified time | relevance | path

Searched refs:X509Extension (Results 1 – 25 of 34) sorted by relevance

12

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DX509Extension.java17 public class X509Extension class
177 public X509Extension( in X509Extension() method in X509Extension
185 public X509Extension( in X509Extension() method in X509Extension
221 if (!(o instanceof X509Extension)) in equals()
226 X509Extension other = (X509Extension)o; in equals()
239 X509Extension ext) in convertValueToObject()
DX509Extensions.java263 …extensions.put(s.getObjectAt(0), new X509Extension(ASN1Boolean.getInstance(s.getObjectAt(1)), ASN1… in X509Extensions()
267 …extensions.put(s.getObjectAt(0), new X509Extension(false, ASN1OctetString.getInstance(s.getObjectA… in X509Extensions()
320 X509Extension ext = (X509Extension)extensions.get(oid); in X509Extensions()
351 X509Extension ext = (X509Extension)values.elementAt(count); in X509Extensions()
372 public X509Extension getExtension( in getExtension()
375 return (X509Extension)extensions.get(oid); in getExtension()
398 X509Extension ext = (X509Extension)extensions.get(oid); in toASN1Primitive()
461 if (((X509Extension)extensions.get(oid)).isCritical() == isCritical) in getExtensionOIDs()
DBasicConstraints.java38 if (obj instanceof X509Extension) in getInstance()
40 return getInstance(X509Extension.convertValueToObject((X509Extension)obj)); in getInstance()
DX509ExtensionsGenerator.java74 extensions.put(oid, new X509Extension(critical, new DEROctetString(value))); in addExtension()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DX509Extension.java15 public class X509Extension class
175 public X509Extension( in X509Extension() method in X509Extension
183 public X509Extension( in X509Extension() method in X509Extension
219 if (!(o instanceof X509Extension)) in equals()
224 X509Extension other = (X509Extension)o; in equals()
237 X509Extension ext) in convertValueToObject()
DX509Extensions.java261 …extensions.put(s.getObjectAt(0), new X509Extension(ASN1Boolean.getInstance(s.getObjectAt(1)), ASN1… in X509Extensions()
265 …extensions.put(s.getObjectAt(0), new X509Extension(false, ASN1OctetString.getInstance(s.getObjectA… in X509Extensions()
318 X509Extension ext = (X509Extension)extensions.get(oid); in X509Extensions()
349 X509Extension ext = (X509Extension)values.elementAt(count); in X509Extensions()
370 public X509Extension getExtension( in getExtension()
373 return (X509Extension)extensions.get(oid); in getExtension()
396 X509Extension ext = (X509Extension)extensions.get(oid); in toASN1Primitive()
459 if (((X509Extension)extensions.get(oid)).isCritical() == isCritical) in getExtensionOIDs()
DBasicConstraints.java34 if (obj instanceof X509Extension) in getInstance()
36 return getInstance(X509Extension.convertValueToObject((X509Extension)obj)); in getInstance()
DX509ExtensionsGenerator.java72 extensions.put(oid, new X509Extension(critical, new DEROctetString(value))); in addExtension()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DX509Extension.java17 public class X509Extension class
177 public X509Extension( in X509Extension() method in X509Extension
185 public X509Extension( in X509Extension() method in X509Extension
221 if (!(o instanceof X509Extension)) in equals()
226 X509Extension other = (X509Extension)o; in equals()
239 X509Extension ext) in convertValueToObject()
DX509Extensions.java263 …extensions.put(s.getObjectAt(0), new X509Extension(ASN1Boolean.getInstance(s.getObjectAt(1)), ASN1… in X509Extensions()
267 …extensions.put(s.getObjectAt(0), new X509Extension(false, ASN1OctetString.getInstance(s.getObjectA… in X509Extensions()
320 X509Extension ext = (X509Extension)extensions.get(oid); in X509Extensions()
351 X509Extension ext = (X509Extension)values.elementAt(count); in X509Extensions()
372 public X509Extension getExtension( in getExtension()
375 return (X509Extension)extensions.get(oid); in getExtension()
398 X509Extension ext = (X509Extension)extensions.get(oid); in toASN1Primitive()
461 if (((X509Extension)extensions.get(oid)).isCritical() == isCritical) in getExtensionOIDs()
DBasicConstraints.java38 if (obj instanceof X509Extension) in getInstance()
40 return getInstance(X509Extension.convertValueToObject((X509Extension)obj)); in getInstance()
DX509ExtensionsGenerator.java74 extensions.put(oid, new X509Extension(critical, new DEROctetString(value))); in addExtension()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509AttributeCertificate.java14 import java.security.cert.X509Extension;
23 extends X509Extension
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509AttributeCertificate.java13 import java.security.cert.X509Extension;
21 extends X509Extension
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DX509AttributeCertificate.java14 import java.security.cert.X509Extension;
23 extends X509Extension
/external/python/pyopenssl/tests/
Dtest_crypto.py33 from OpenSSL.crypto import X509Extension
825 str(X509Extension(b"basicConstraints", True, b"CA:false"))
834 X509Extension,
846 basic = X509Extension(b"basicConstraints", True, b"CA:true")
847 assert isinstance(basic, X509Extension)
849 comment = X509Extension(b"nsComment", False, b"pyOpenSSL unit test")
850 assert isinstance(comment, X509Extension)
875 X509Extension(type_name, critical, value)
883 ext = X509Extension(b"basicConstraints", critical_flag, b"CA:true")
895 ext = X509Extension(short_name, True, value)
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java16 import org.bouncycastle.asn1.x509.X509Extension;
46 X509Extension extension) in AuthorityKeyIdentifierStructure()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java17 import com.android.org.bouncycastle.asn1.x509.X509Extension;
48 X509Extension extension) in AuthorityKeyIdentifierStructure()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/extension/
DAuthorityKeyIdentifierStructure.java17 import com.android.internal.org.bouncycastle.asn1.x509.X509Extension;
48 X509Extension extension) in AuthorityKeyIdentifierStructure()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java27 import com.android.org.bouncycastle.asn1.x509.X509Extension;
291 if (oid.equals(X509Extension.reasonCode)) in toString()
295 else if (oid.equals(X509Extension.certificateIssuer)) in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java26 import org.bouncycastle.asn1.x509.X509Extension;
289 if (oid.equals(X509Extension.reasonCode)) in toString()
293 else if (oid.equals(X509Extension.certificateIssuer)) in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java27 import com.android.internal.org.bouncycastle.asn1.x509.X509Extension;
291 if (oid.equals(X509Extension.reasonCode)) in toString()
295 else if (oid.equals(X509Extension.certificateIssuer)) in toString()
/external/python/pyopenssl/doc/api/
Dcrypto.rst187 X509Extension objects
190 .. autoclass:: X509Extension
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py720 class X509Extension(object): class
1000 if not isinstance(ext, X509Extension):
1029 ext = X509Extension.__new__(X509Extension)
1525 if not isinstance(ext, X509Extension):
1546 ext = X509Extension.__new__(X509Extension)
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DRFC3280CertPathUtilities.java12 import java.security.cert.X509Extension;
216 … bc = BasicConstraints.getInstance(RevocationUtilities.getExtensionValue((X509Extension)cert, in processCRLB2()

12