Home
last modified time | relevance | path

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

12

/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()
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()
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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/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()
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/test/
Dmake_invalid_extensions.go97 KeyUsage: x509.KeyUsageCertSign,
111 KeyUsage: x509.KeyUsageCertSign,
125 KeyUsage: x509.KeyUsageCertSign,
Dmake_many_constraints.go112 KeyUsage: x509.KeyUsageCertSign,
154 KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment,
/external/pdfium/xfa/fxfa/parser/
Delement_attributes.inc62 ELEM_ATTR____(KeyUsage, NonRepudiation, CJX_Object::ScriptAttributeString)
63 ELEM_ATTR____(KeyUsage, EncipherOnly, CJX_Object::ScriptAttributeString)
64 ELEM_ATTR____(KeyUsage, Type, CJX_Object::ScriptAttributeString)
65 ELEM_ATTR____(KeyUsage, DigitalSignature, CJX_Object::ScriptAttributeString)
66 ELEM_ATTR____(KeyUsage, CrlSign, CJX_Object::ScriptAttributeString)
67 ELEM_ATTR____(KeyUsage, KeyAgreement, CJX_Object::ScriptAttributeString)
68 ELEM_ATTR____(KeyUsage, KeyEncipherment, CJX_Object::ScriptAttributeString)
69 ELEM_ATTR____(KeyUsage, DataEncipherment, CJX_Object::ScriptAttributeString)
70 ELEM_ATTR____(KeyUsage, KeyCertSign, CJX_Object::ScriptAttributeString)
71 ELEM_ATTR____(KeyUsage, DecipherOnly, CJX_Object::ScriptAttributeString)
Dcxfa_certificates.cpp15 {XFA_Element::KeyUsage, 1, 0}, {XFA_Element::SubjectDNs, 1, 0},
Dcxfa_keyusage.cpp38 XFA_Element::KeyUsage, in CXFA_KeyUsage()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java73 import org.bouncycastle.asn1.x509.KeyUsage;
1644 assertCipherInitWithKeyUsage(KeyUsage.digitalSignature, false, true, false, true); in testCipherInitWithCertificate()
1645 assertCipherInitWithKeyUsage(KeyUsage.nonRepudiation, false, true, false, true); in testCipherInitWithCertificate()
1646 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement, false, true, false, true); in testCipherInitWithCertificate()
1647 assertCipherInitWithKeyUsage(KeyUsage.keyCertSign, false, true, false, true); in testCipherInitWithCertificate()
1648 assertCipherInitWithKeyUsage(KeyUsage.cRLSign, false, true, false, true); in testCipherInitWithCertificate()
1656 assertCipherInitWithKeyUsage(KeyUsage.encipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1657 assertCipherInitWithKeyUsage(KeyUsage.decipherOnly, false, true, false, true); in testCipherInitWithCertificate()
1658 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.encipherOnly, in testCipherInitWithCertificate()
1660 assertCipherInitWithKeyUsage(KeyUsage.keyAgreement | KeyUsage.decipherOnly, in testCipherInitWithCertificate()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java78 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/python/cryptography/src/cryptography/x509/
D__init__.py24 IssuingDistributionPoint, KeyUsage, NameConstraints, NoticeReference,
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py787 x509.KeyUsage(
800 x509.KeyUsage(
813 x509.KeyUsage(
826 ku = x509.KeyUsage(
846 ku = x509.KeyUsage(
862 ku = x509.KeyUsage(
881 ku = x509.KeyUsage(
900 ku = x509.KeyUsage(
919 ku = x509.KeyUsage(
930 ku2 = x509.KeyUsage(
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java58 import org.bouncycastle.asn1.x509.KeyUsage;
708 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java58 import org.bouncycastle.asn1.x509.KeyUsage;
DX509CertificateImpl.java58 import org.bouncycastle.asn1.x509.KeyUsage;
525 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CertificateObject.java59 import com.android.internal.org.bouncycastle.asn1.x509.KeyUsage;
710 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CertificateObject.java59 import com.android.org.bouncycastle.asn1.x509.KeyUsage;
711 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;
DX509CertificateImpl.java59 import com.android.org.bouncycastle.asn1.x509.KeyUsage;
526 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateImpl.java59 import com.android.internal.org.bouncycastle.asn1.x509.KeyUsage;
526 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
DX509CertificateObject.java59 import com.android.internal.org.bouncycastle.asn1.x509.KeyUsage;
/external/python/asn1crypto/asn1crypto/
Dx509.py438 class KeyUsage(BitString): class
2012 ('intended_usage', KeyUsage, {'explicit': 0, 'optional': True}),
2096 'key_usage': KeyUsage,

12