Home
last modified time | relevance | path

Searched refs:keyUsage (Results 1 – 25 of 72) sorted by relevance

123

/external/ms-tpm-20-ref/TPMCmd/tpm/src/X509/
DX509_spt.c185 x509KeyUsageUnion keyUsage; in X509ProcessExtensions() local
192 keyUsage.integer = value; in X509ProcessExtensions()
195 badSign = ((KEY_USAGE_SIGN.integer & keyUsage.integer) != 0) in X509ProcessExtensions()
198 badDecrypt = ((KEY_USAGE_DECRYPT.integer & keyUsage.integer) != 0) in X509ProcessExtensions()
201 badFixedTPM = IS_ATTRIBUTE(keyUsage.x509, TPMA_X509_KEY_USAGE, in X509ProcessExtensions()
205 badRestricted = IS_ATTRIBUTE(keyUsage.x509, TPMA_X509_KEY_USAGE, keyAgreement) in X509ProcessExtensions()
/external/openscreen/test/data/cast/common/certificate/certificates/
Dextensions.conf3 keyUsage=digitalSignature, keyEncipherment, keyCertSign
13 keyUsage=digitalSignature, keyEncipherment
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java13 …BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal() argument
15 super(bcHelper, c, basicConstraints, keyUsage, sigAlgName, sigAlgParams); in X509CertificateInternal()
DX509CertificateObject.java330 …ateInternal temp = new X509CertificateInternal(bcHelper, c, basicConstraints, keyUsage, sigAlgName, in getInternalCertificate()
378 boolean[] keyUsage = new boolean[(length < 9) ? 9 : length]; in createKeyUsage()
382 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in createKeyUsage()
385 return keyUsage; in createKeyUsage()
DX509CertificateImpl.java78 protected boolean[] keyUsage; field in X509CertificateImpl
83 … BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams) in X509CertificateImpl() argument
88 this.keyUsage = keyUsage; in X509CertificateImpl()
272 return Arrays.clone(keyUsage); in getKeyUsage()
427 if (oid.equals(Extension.keyUsage) in hasUnsupportedCriticalExtension()
523 else if (oid.equals(Extension.keyUsage)) in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java14 …BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal() argument
16 super(bcHelper, c, basicConstraints, keyUsage, sigAlgName, sigAlgParams); in X509CertificateInternal()
DX509CertificateObject.java331 …ateInternal temp = new X509CertificateInternal(bcHelper, c, basicConstraints, keyUsage, sigAlgName, in getInternalCertificate()
379 boolean[] keyUsage = new boolean[(length < 9) ? 9 : length]; in createKeyUsage()
383 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in createKeyUsage()
386 return keyUsage; in createKeyUsage()
DX509CertificateImpl.java79 protected boolean[] keyUsage; field in X509CertificateImpl
84 … BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams) in X509CertificateImpl() argument
89 this.keyUsage = keyUsage; in X509CertificateImpl()
273 return Arrays.clone(keyUsage); in getKeyUsage()
428 if (oid.equals(Extension.keyUsage) in hasUnsupportedCriticalExtension()
524 else if (oid.equals(Extension.keyUsage)) in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateInternal.java14 …BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams, byt… in X509CertificateInternal() argument
16 super(bcHelper, c, basicConstraints, keyUsage, sigAlgName, sigAlgParams); in X509CertificateInternal()
DX509CertificateObject.java331 …ateInternal temp = new X509CertificateInternal(bcHelper, c, basicConstraints, keyUsage, sigAlgName, in getInternalCertificate()
379 boolean[] keyUsage = new boolean[(length < 9) ? 9 : length]; in createKeyUsage()
383 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in createKeyUsage()
386 return keyUsage; in createKeyUsage()
DX509CertificateImpl.java79 protected boolean[] keyUsage; field in X509CertificateImpl
84 … BasicConstraints basicConstraints, boolean[] keyUsage, String sigAlgName, byte[] sigAlgParams) in X509CertificateImpl() argument
89 this.keyUsage = keyUsage; in X509CertificateImpl()
273 return Arrays.clone(keyUsage); in getKeyUsage()
428 if (oid.equals(Extension.keyUsage) in hasUnsupportedCriticalExtension()
524 else if (oid.equals(Extension.keyUsage)) in toString()
/external/tpm2-tss/script/ekca/
Dintermed-ca.cnf99 keyUsage = critical, digitalSignature, keyEncipherment
111 keyUsage = critical, digitalSignature
123 keyUsage = critical, digitalSignature
Droot-ca.cnf80 keyUsage = critical, keyCertSign, cRLSign
93 keyUsage = critical, keyCertSign, cRLSign
/external/wpa_supplicant_8/hs20/server/ca/
Dopenssl-root.cnf106 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
114 keyUsage = critical, cRLSign, keyCertSign
124 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
Dopenssl.cnf119 keyUsage = critical, cRLSign, keyCertSign
129 keyUsage = critical, keyEncipherment
179 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
200 keyUsage = critical, keyEncipherment
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java383 private int keyUsage; field in TestKeyStore.Builder
430 public Builder keyUsage(int keyUsage) { in keyUsage() method in TestKeyStore.Builder
431 this.keyUsage = keyUsage; in keyUsage()
643 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca, in createKeys()
689 X500Principal subject, X500Principal issuer, int keyUsage, boolean ca, in createCertificate() argument
731 if (keyUsage != 0) { in createCertificate()
732 x509cg.addExtension(Extension.keyUsage, true, new KeyUsage(keyUsage)); in createCertificate()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java380 private int keyUsage; field in TestKeyStore.Builder
427 public Builder keyUsage(int keyUsage) { in keyUsage() argument
428 this.keyUsage = keyUsage; in keyUsage()
640 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca, in createKeys()
686 X500Principal subject, X500Principal issuer, int keyUsage, boolean ca, in createCertificate() argument
728 if (keyUsage != 0) { in createCertificate()
729 x509cg.addExtension(Extension.keyUsage, true, new KeyUsage(keyUsage)); in createCertificate()
/external/grpc-grpc-java/testing/src/main/resources/certs/
Dopenssl.cnf187 # This is typical in keyUsage for a client certificate.
188 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
222 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
246 # keyUsage = cRLSign, keyCertSign
294 # This is typical in keyUsage for a client certificate.
295 # keyUsage = nonRepudiation, digitalSignature, keyEncipherment
Dca-openssl.cnf17 keyUsage = critical, keyCertSign
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java79 private boolean[] keyUsage; field in X509CertificateObject
115 keyUsage = new boolean[(length < 9) ? 9 : length]; in X509CertificateObject()
119 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in X509CertificateObject()
124 keyUsage = null; in X509CertificateObject()
333 return keyUsage; in getKeyUsage()
706 else if (oid.equals(Extension.keyUsage)) in toString()
/external/curl/tests/certs/
DEdelCurlRoot-ca.prm16 keyUsage = critical,keyCertSign,cRLSign
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CertificateObject.java81 private boolean[] keyUsage; field in X509CertificateObject
117 keyUsage = new boolean[(length < 9) ? 9 : length]; in X509CertificateObject()
121 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in X509CertificateObject()
126 keyUsage = null; in X509CertificateObject()
335 return keyUsage; in getKeyUsage()
708 else if (oid.equals(Extension.keyUsage)) in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CertificateObject.java81 private boolean[] keyUsage; field in X509CertificateObject
118 keyUsage = new boolean[(length < 9) ? 9 : length]; in X509CertificateObject()
122 keyUsage[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0; in X509CertificateObject()
127 keyUsage = null; in X509CertificateObject()
336 return keyUsage; in getKeyUsage()
709 else if (oid.equals(Extension.keyUsage)) in toString()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/test_creds/
Dca-openssl.cnf17 keyUsage = critical, keyCertSign
/external/grpc-grpc/src/core/tsi/test_creds/
Dca-openssl.cnf17 keyUsage = critical, keyCertSign

123