Home
last modified time | relevance | path

Searched refs:KeyUsage (Results 1 – 21 of 21) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DKeyUsage.java24 public class KeyUsage class
39 public static KeyUsage getInstance(Object obj) // needs to be DERBitString for other VMs in getInstance()
41 if (obj instanceof KeyUsage) in getInstance()
43 return (KeyUsage)obj; in getInstance()
47 return new KeyUsage(DERBitString.getInstance(obj)); in getInstance()
53 public static KeyUsage fromExtensions(Extensions extensions) in fromExtensions()
55 return KeyUsage.getInstance(extensions.getExtensionParsedValue(Extension.keyUsage)); in fromExtensions()
65 public KeyUsage( in KeyUsage() method in KeyUsage
71 private KeyUsage( in KeyUsage() method in KeyUsage
DX509Extensions.java39 public static final ASN1ObjectIdentifier KeyUsage = new ASN1ObjectIdentifier("2.5.29.15"); field in X509Extensions
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DKeyUsage.java26 public class KeyUsage class
41 public static KeyUsage getInstance(Object obj) // needs to be DERBitString for other VMs in getInstance()
43 if (obj instanceof KeyUsage) in getInstance()
45 return (KeyUsage)obj; in getInstance()
49 return new KeyUsage(DERBitString.getInstance(obj)); in getInstance()
55 public static KeyUsage fromExtensions(Extensions extensions) in fromExtensions()
57 return KeyUsage.getInstance(extensions.getExtensionParsedValue(Extension.keyUsage)); in fromExtensions()
67 public KeyUsage( in KeyUsage() method in KeyUsage
73 private KeyUsage( in KeyUsage() method in KeyUsage
DX509Extensions.java41 public static final ASN1ObjectIdentifier KeyUsage = new ASN1ObjectIdentifier("2.5.29.15"); field in X509Extensions
/external/boringssl/src/crypto/x509/
Dmake_many_constraints.go112 KeyUsage: x509.KeyUsageCertSign,
154 KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment,
/external/pdfium/xfa/fxfa/parser/
Dcxfa_certificates.cpp15 {XFA_Element::KeyUsage, 1, 0}, {XFA_Element::SubjectDNs, 1, 0},
Dcxfa_keyusage.cpp40 XFA_Element::KeyUsage, in CXFA_KeyUsage()
Dcxfa_node_statics.cpp359 {0xe1378fe /* keyUsage */, XFA_Element::KeyUsage},
1025 case XFA_Element::KeyUsage: in Create()
2407 case XFA_Element::KeyUsage: in ElementToName()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java72 import org.bouncycastle.asn1.x509.KeyUsage;
1646 assertCipherInitWithKeyUsage(KeyUsage.digitalSignature, false, true, false, true); in testCipherInitWithCertificate()
1647 assertCipherInitWithKeyUsage(KeyUsage.nonRepudiation, false, true, false, true); in testCipherInitWithCertificate()
1648 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement, false, true, false, true); in testCipherInitWithCertificate()
1649 assertCipherInitWithKeyUsage(KeyUsage.keyCertSign, false, true, false, true); in testCipherInitWithCertificate()
1650 assertCipherInitWithKeyUsage(KeyUsage.cRLSign, false, true, false, true); in testCipherInitWithCertificate()
1658 assertCipherInitWithKeyUsage(KeyUsage.encipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1659 assertCipherInitWithKeyUsage(KeyUsage.decipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1660 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.encipherOnly, in testCipherInitWithCertificate()
1662 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.decipherOnly, in testCipherInitWithCertificate()
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java73 import org.bouncycastle.asn1.x509.KeyUsage;
1648 assertCipherInitWithKeyUsage(KeyUsage.digitalSignature, false, true, false, true); in testCipherInitWithCertificate()
1649 assertCipherInitWithKeyUsage(KeyUsage.nonRepudiation, false, true, false, true); in testCipherInitWithCertificate()
1650 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement, false, true, false, true); in testCipherInitWithCertificate()
1651 assertCipherInitWithKeyUsage(KeyUsage.keyCertSign, false, true, false, true); in testCipherInitWithCertificate()
1652 assertCipherInitWithKeyUsage(KeyUsage.cRLSign, false, true, false, true); in testCipherInitWithCertificate()
1660 assertCipherInitWithKeyUsage(KeyUsage.encipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1661 assertCipherInitWithKeyUsage(KeyUsage.decipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1662 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.encipherOnly, in testCipherInitWithCertificate()
1664 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.decipherOnly, in testCipherInitWithCertificate()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java58 import org.bouncycastle.asn1.x509.KeyUsage;
701 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CertificateObject.java61 import com.android.org.bouncycastle.asn1.x509.KeyUsage;
732 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java60 import org.bouncycastle.asn1.x509.KeyUsage;
727 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java59 import com.android.org.bouncycastle.asn1.x509.KeyUsage;
702 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/python/pyasn1-modules/pyasn1_modules/
Drfc5280.py1514 class KeyUsage(univ.BitString): class
1518 KeyUsage.namedValues = namedval.NamedValues(
1595 id_ce_keyUsage: KeyUsage(),
Drfc3280.py1464 class KeyUsage(univ.BitString): class
1468 KeyUsage.namedValues = namedval.NamedValues(
Drfc2459.py961 class KeyUsage(univ.BitString): class
1313 id_ce_keyUsage: KeyUsage(),
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java66 import org.bouncycastle.asn1.x509.KeyUsage;
733 x509cg.addExtension(Extension.keyUsage, true, new KeyUsage(keyUsage)); in createCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java65 import org.bouncycastle.asn1.x509.KeyUsage;
730 x509cg.addExtension(Extension.keyUsage, true, new KeyUsage(keyUsage)); in createCertificate()
/external/pdfium/xfa/fxfa/
Dfxfa_basic.h654 KeyUsage, enumerator
/external/boringssl/src/ssl/test/runner/
Drunner.go14119 KeyUsage: x509.KeyUsageKeyAgreement,
14170 KeyUsage: x509.KeyUsageDigitalSignature,
14182 KeyUsage: x509.KeyUsageKeyEncipherment,