Home
last modified time | relevance | path

Searched refs:KeyPurposeId (Results 1 – 17 of 17) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DKeyPurposeId.java23 public class KeyPurposeId class
31 …public static final KeyPurposeId anyExtendedKeyUsage = new KeyPurposeId(Extension.extendedKeyUsage…
36 public static final KeyPurposeId id_kp_serverAuth = new KeyPurposeId(id_kp.branch("1"));
40 public static final KeyPurposeId id_kp_clientAuth = new KeyPurposeId(id_kp.branch("2"));
44 public static final KeyPurposeId id_kp_codeSigning = new KeyPurposeId(id_kp.branch("3"));
48 public static final KeyPurposeId id_kp_emailProtection = new KeyPurposeId(id_kp.branch("4"));
52 public static final KeyPurposeId id_kp_ipsecEndSystem = new KeyPurposeId(id_kp.branch("5"));
56 public static final KeyPurposeId id_kp_ipsecTunnel = new KeyPurposeId(id_kp.branch("6"));
60 public static final KeyPurposeId id_kp_ipsecUser = new KeyPurposeId(id_kp.branch("7"));
64 public static final KeyPurposeId id_kp_timeStamping = new KeyPurposeId(id_kp.branch("8"));
[all …]
DExtendedKeyUsage.java80 KeyPurposeId usage) in ExtendedKeyUsage()
111 KeyPurposeId[] usages) in ExtendedKeyUsage()
135 KeyPurposeId o = KeyPurposeId.getInstance(e.nextElement()); in ExtendedKeyUsage()
151 KeyPurposeId keyPurposeId) in hasKeyPurposeId()
161 public KeyPurposeId[] getUsages() in getUsages()
163 KeyPurposeId[] temp = new KeyPurposeId[seq.size()]; in getUsages()
168 temp[i++] = KeyPurposeId.getInstance(it.nextElement()); in getUsages()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DKeyPurposeId.java25 public class KeyPurposeId class
33 …public static final KeyPurposeId anyExtendedKeyUsage = new KeyPurposeId(Extension.extendedKeyUsage…
38 public static final KeyPurposeId id_kp_serverAuth = new KeyPurposeId(id_kp.branch("1"));
42 public static final KeyPurposeId id_kp_clientAuth = new KeyPurposeId(id_kp.branch("2"));
46 public static final KeyPurposeId id_kp_codeSigning = new KeyPurposeId(id_kp.branch("3"));
50 public static final KeyPurposeId id_kp_emailProtection = new KeyPurposeId(id_kp.branch("4"));
54 public static final KeyPurposeId id_kp_ipsecEndSystem = new KeyPurposeId(id_kp.branch("5"));
58 public static final KeyPurposeId id_kp_ipsecTunnel = new KeyPurposeId(id_kp.branch("6"));
62 public static final KeyPurposeId id_kp_ipsecUser = new KeyPurposeId(id_kp.branch("7"));
66 public static final KeyPurposeId id_kp_timeStamping = new KeyPurposeId(id_kp.branch("8"));
[all …]
DExtendedKeyUsage.java82 KeyPurposeId usage) in ExtendedKeyUsage()
113 KeyPurposeId[] usages) in ExtendedKeyUsage()
137 KeyPurposeId o = KeyPurposeId.getInstance(e.nextElement()); in ExtendedKeyUsage()
153 KeyPurposeId keyPurposeId) in hasKeyPurposeId()
163 public KeyPurposeId[] getUsages() in getUsages()
165 KeyPurposeId[] temp = new KeyPurposeId[seq.size()]; in getUsages()
170 temp[i++] = KeyPurposeId.getInstance(it.nextElement()); in getUsages()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DKeyPurposeId.java25 public class KeyPurposeId class
33 …public static final KeyPurposeId anyExtendedKeyUsage = new KeyPurposeId(Extension.extendedKeyUsage…
38 public static final KeyPurposeId id_kp_serverAuth = new KeyPurposeId(id_kp.branch("1"));
42 public static final KeyPurposeId id_kp_clientAuth = new KeyPurposeId(id_kp.branch("2"));
46 public static final KeyPurposeId id_kp_codeSigning = new KeyPurposeId(id_kp.branch("3"));
50 public static final KeyPurposeId id_kp_emailProtection = new KeyPurposeId(id_kp.branch("4"));
54 public static final KeyPurposeId id_kp_ipsecEndSystem = new KeyPurposeId(id_kp.branch("5"));
58 public static final KeyPurposeId id_kp_ipsecTunnel = new KeyPurposeId(id_kp.branch("6"));
62 public static final KeyPurposeId id_kp_ipsecUser = new KeyPurposeId(id_kp.branch("7"));
66 public static final KeyPurposeId id_kp_timeStamping = new KeyPurposeId(id_kp.branch("8"));
[all …]
DExtendedKeyUsage.java82 KeyPurposeId usage) in ExtendedKeyUsage()
113 KeyPurposeId[] usages) in ExtendedKeyUsage()
137 KeyPurposeId o = KeyPurposeId.getInstance(e.nextElement()); in ExtendedKeyUsage()
153 KeyPurposeId keyPurposeId) in hasKeyPurposeId()
163 public KeyPurposeId[] getUsages() in getUsages()
165 KeyPurposeId[] temp = new KeyPurposeId[seq.size()]; in getUsages()
170 temp[i++] = KeyPurposeId.getInstance(it.nextElement()); in getUsages()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java40 import org.bouncycastle.asn1.x509.KeyPurposeId;
267 KeyPurposeId.anyExtendedKeyUsage, false, true, true); in test_TrustManagerFactory_extendedKeyUsage()
269 KeyPurposeId.anyExtendedKeyUsage, true, true, true); in test_TrustManagerFactory_extendedKeyUsage()
273 KeyPurposeId.id_kp_clientAuth, false, true, false); in test_TrustManagerFactory_extendedKeyUsage()
274 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_clientAuth, true, true, false); in test_TrustManagerFactory_extendedKeyUsage()
278 KeyPurposeId.id_kp_serverAuth, false, false, true); in test_TrustManagerFactory_extendedKeyUsage()
279 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_serverAuth, true, false, true); in test_TrustManagerFactory_extendedKeyUsage()
283 KeyPurposeId.id_kp_codeSigning, false, false, false); in test_TrustManagerFactory_extendedKeyUsage()
285 KeyPurposeId.id_kp_codeSigning, true, false, false); in test_TrustManagerFactory_extendedKeyUsage()
288 private void test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId keyPurposeId, in test_TrustManagerFactory_extendedKeyUsage()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java41 import org.bouncycastle.asn1.x509.KeyPurposeId;
271 KeyPurposeId.anyExtendedKeyUsage, false, true, true); in test_TrustManagerFactory_extendedKeyUsage()
273 KeyPurposeId.anyExtendedKeyUsage, true, true, true); in test_TrustManagerFactory_extendedKeyUsage()
277 KeyPurposeId.id_kp_clientAuth, false, true, false); in test_TrustManagerFactory_extendedKeyUsage()
278 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_clientAuth, true, true, false); in test_TrustManagerFactory_extendedKeyUsage()
282 KeyPurposeId.id_kp_serverAuth, false, false, true); in test_TrustManagerFactory_extendedKeyUsage()
283 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_serverAuth, true, false, true); in test_TrustManagerFactory_extendedKeyUsage()
287 KeyPurposeId.id_kp_codeSigning, false, false, false); in test_TrustManagerFactory_extendedKeyUsage()
289 KeyPurposeId.id_kp_codeSigning, true, false, false); in test_TrustManagerFactory_extendedKeyUsage()
292 private void test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId keyPurposeId, in test_TrustManagerFactory_extendedKeyUsage()
/external/python/asn1crypto/asn1crypto/
Dpdf.py27 KeyPurposeId,
82 KeyPurposeId._map['1.2.840.113583.1.1.5'] = 'pdf_signing'
Dpkcs12.py31 from .x509 import Certificate, KeyPurposeId
76 _child_spec = KeyPurposeId
Dx509.py1664 class KeyPurposeId(ObjectIdentifier): class
1777 _child_spec = KeyPurposeId
3013 _child_spec = KeyPurposeId
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java64 import org.bouncycastle.asn1.x509.KeyPurposeId;
388 private final List<KeyPurposeId> extendedKeyUsages = new ArrayList<KeyPurposeId>();
459 public Builder addExtendedKeyUsage(KeyPurposeId keyPurposeId, boolean critical) { in addExtendedKeyUsage()
680 new ArrayList<KeyPurposeId>(), new ArrayList<Boolean>(), in createCa()
690 List<KeyPurposeId> extendedKeyUsages, List<Boolean> criticalExtendedKeyUsages, in createCertificate()
738 KeyPurposeId keyPurposeId = extendedKeyUsages.get(i); in createCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java63 import org.bouncycastle.asn1.x509.KeyPurposeId;
385 private final List<KeyPurposeId> extendedKeyUsages = new ArrayList<KeyPurposeId>();
456 public Builder addExtendedKeyUsage(KeyPurposeId keyPurposeId, boolean critical) { in addExtendedKeyUsage()
677 new ArrayList<KeyPurposeId>(), new ArrayList<Boolean>(), in createCa()
687 List<KeyPurposeId> extendedKeyUsages, List<Boolean> criticalExtendedKeyUsages, in createCertificate()
735 KeyPurposeId keyPurposeId = extendedKeyUsages.get(i); in createCertificate()
/external/python/asn1crypto/
Dchangelog.md87 - Add IKE Intermediate (`1.3.6.1.5.5.8.2.2`) to `x509.KeyPurposeId()`
128 - Added various OIDs to `x509.KeyPurposeId()`
283 - Added various Apple OIDs to `x509.KeyPurposeId`
303 - Added a bunch of OIDs to `x509.KeyPurposeId`
/external/python/pyasn1-modules/pyasn1_modules/
Drfc5280.py1489 class KeyPurposeId(univ.ObjectIdentifier): class
1497 ExtKeyUsageSyntax.componentType = KeyPurposeId()
Drfc2459.py796 class KeyPurposeId(univ.ObjectIdentifier): class
801 componentType = KeyPurposeId()
Drfc3280.py1210 class KeyPurposeId(univ.ObjectIdentifier): class
1218 ExtKeyUsageSyntax.componentType = KeyPurposeId()