Home
last modified time | relevance | path

Searched refs:KeyPurposeId (Results 1 – 11 of 11) 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/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/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java42 import org.bouncycastle.asn1.x509.KeyPurposeId;
285 KeyPurposeId.anyExtendedKeyUsage, false, true, true); in test_TrustManagerFactory_extendedKeyUsage()
287 KeyPurposeId.anyExtendedKeyUsage, true, true, true); in test_TrustManagerFactory_extendedKeyUsage()
291 KeyPurposeId.id_kp_clientAuth, false, true, false); in test_TrustManagerFactory_extendedKeyUsage()
292 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_clientAuth, true, true, false); in test_TrustManagerFactory_extendedKeyUsage()
296 KeyPurposeId.id_kp_serverAuth, false, false, true); in test_TrustManagerFactory_extendedKeyUsage()
297 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_serverAuth, true, false, true); in test_TrustManagerFactory_extendedKeyUsage()
301 KeyPurposeId.id_kp_codeSigning, false, false, false); in test_TrustManagerFactory_extendedKeyUsage()
303 KeyPurposeId.id_kp_codeSigning, true, false, false); in test_TrustManagerFactory_extendedKeyUsage()
306 private void test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId keyPurposeId, in test_TrustManagerFactory_extendedKeyUsage()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java43 import org.bouncycastle.asn1.x509.KeyPurposeId;
289 KeyPurposeId.anyExtendedKeyUsage, false, true, true); in test_TrustManagerFactory_extendedKeyUsage()
291 KeyPurposeId.anyExtendedKeyUsage, true, true, true); in test_TrustManagerFactory_extendedKeyUsage()
295 KeyPurposeId.id_kp_clientAuth, false, true, false); in test_TrustManagerFactory_extendedKeyUsage()
296 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_clientAuth, true, true, false); in test_TrustManagerFactory_extendedKeyUsage()
300 KeyPurposeId.id_kp_serverAuth, false, false, true); in test_TrustManagerFactory_extendedKeyUsage()
301 test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId.id_kp_serverAuth, true, false, true); in test_TrustManagerFactory_extendedKeyUsage()
305 KeyPurposeId.id_kp_codeSigning, false, false, false); in test_TrustManagerFactory_extendedKeyUsage()
307 KeyPurposeId.id_kp_codeSigning, true, false, false); in test_TrustManagerFactory_extendedKeyUsage()
310 private void test_TrustManagerFactory_extendedKeyUsage(KeyPurposeId keyPurposeId, in test_TrustManagerFactory_extendedKeyUsage()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java65 import org.bouncycastle.asn1.x509.KeyPurposeId;
389 private final List<KeyPurposeId> extendedKeyUsages = new ArrayList<KeyPurposeId>();
460 public Builder addExtendedKeyUsage(KeyPurposeId keyPurposeId, boolean critical) { in addExtendedKeyUsage()
681 new ArrayList<KeyPurposeId>(), new ArrayList<Boolean>(), in createCa()
691 List<KeyPurposeId> extendedKeyUsages, List<Boolean> criticalExtendedKeyUsages, in createCertificate()
739 KeyPurposeId keyPurposeId = extendedKeyUsages.get(i); in createCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java64 import org.bouncycastle.asn1.x509.KeyPurposeId;
386 private final List<KeyPurposeId> extendedKeyUsages = new ArrayList<KeyPurposeId>();
457 public Builder addExtendedKeyUsage(KeyPurposeId keyPurposeId, boolean critical) { in addExtendedKeyUsage()
678 new ArrayList<KeyPurposeId>(), new ArrayList<Boolean>(), in createCa()
688 List<KeyPurposeId> extendedKeyUsages, List<Boolean> criticalExtendedKeyUsages, in createCertificate()
736 KeyPurposeId keyPurposeId = extendedKeyUsages.get(i); in createCertificate()
/external/python/pyasn1-modules/pyasn1_modules/
Drfc3280.py1210 class KeyPurposeId(univ.ObjectIdentifier): class
1218 ExtKeyUsageSyntax.componentType = KeyPurposeId()
Drfc5280.py1479 class KeyPurposeId(univ.ObjectIdentifier): class
1487 ExtKeyUsageSyntax.componentType = KeyPurposeId()
Drfc2459.py793 class KeyPurposeId(univ.ObjectIdentifier): class
798 componentType = KeyPurposeId()