/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
D | test_load_save_keys.py | 62 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_DER, 'DER') 63 expected = rsa.key.PrivateKey(3727264081, 65537, 3349121513, 65063, 57287) 70 key = rsa.key.PrivateKey(3727264081, 65537, 3349121513, 65063, 57287) 98 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_PEM, 'PEM') 99 expected = rsa.key.PrivateKey(3727264081, 65537, 3349121513, 65063, 57287) 106 key = rsa.key.PrivateKey(3727264081, 65537, 3349121513, 65063, 57287)
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLKey.java | 22 import java.security.PrivateKey; 82 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException { in fromPrivateKey() 133 PrivateKey privateKey, PublicKey publicKey) throws InvalidKeyException { in fromPrivateKeyForTLSStackOnly() 157 PrivateKey key, ECParameterSpec ecParams) throws InvalidKeyException { in fromECPrivateKeyForTLSStackOnly() 177 private static OpenSSLKey getOpenSSLKey(PrivateKey key) { in getOpenSSLKey() 195 private static OpenSSLKey fromKeyMaterial(PrivateKey key) { in fromKeyMaterial() 211 private static OpenSSLKey wrapJCAPrivateKeyForTLSStackOnly(PrivateKey privateKey, in wrapJCAPrivateKeyForTLSStackOnly() 223 private static OpenSSLKey wrapPrivateKey(PrivateKey key) throws InvalidKeyException { in wrapPrivateKey() 309 public PrivateKey getPrivateKey() throws NoSuchAlgorithmException { in getPrivateKey() 320 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey()
|
D | OpenSSLECKeyFactory.java | 23 import java.security.PrivateKey; 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePrivate() 98 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 106 } else if (key instanceof PrivateKey in engineGetKeySpec() 162 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey()
|
D | OpenSSLRSAKeyFactory.java | 23 import java.security.PrivateKey; 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePrivate() 112 } else if (key instanceof PrivateKey in engineGetKeySpec() 129 } else if (key instanceof PrivateKey && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 137 } else if (key instanceof PrivateKey in engineGetKeySpec() 207 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) { in engineTranslateKey()
|
D | OpenSSLECDHKeyAgreement.java | 22 import java.security.PrivateKey; 122 if (!(key instanceof PrivateKey)) { in engineInit() 126 OpenSSLKey openSslKey = OpenSSLKey.fromPrivateKey((PrivateKey) key); in engineInit()
|
D | OpenSSLRSAKeyPairGenerator.java | 23 import java.security.PrivateKey; 47 PrivateKey privKey = OpenSSLRSAPrivateKey.getInstance(key); in generateKeyPair()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509V1CertificateGenerator.java | 9 import java.security.PrivateKey; 182 PrivateKey key) in generateX509Certificate() 201 PrivateKey key, in generateX509Certificate() 222 PrivateKey key, in generateX509Certificate() 236 PrivateKey key, in generateX509Certificate() 272 PrivateKey key) in generate() 287 PrivateKey key, in generate() 312 PrivateKey key, in generate() 325 PrivateKey key, in generate()
|
D | X509V3CertificateGenerator.java | 9 import java.security.PrivateKey; 318 PrivateKey key) in generateX509Certificate() 338 PrivateKey key, in generateX509Certificate() 358 PrivateKey key, in generateX509Certificate() 372 PrivateKey key, in generateX509Certificate() 408 PrivateKey key) in generate() 424 PrivateKey key, in generate() 455 PrivateKey key, in generate() 468 PrivateKey key, in generate()
|
/external/boringssl/src/ssl/test/runner/ |
D | tls.go | 217 cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes) 231 priv, ok := cert.PrivateKey.(*rsa.PrivateKey) 241 priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey) 262 func parsePrivateKey(der []byte) (crypto.PrivateKey, error) { 268 case *rsa.PrivateKey, *ecdsa.PrivateKey:
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KSPrivateKeyEntryTest.java | 49 private PrivateKey testPrivateKey; 60 testPrivateKey = (diffKeys ? (PrivateKey) new tmpPrivateKey() : in createParams() 61 (PrivateKey) new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm())); in createParams() 71 PrivateKey pk = null; in testPrivateKeyEntry01() 87 PrivateKey pk = new tmpPrivateKey(); in testPrivateKeyEntry02() 187 private static class tmpPrivateKey implements PrivateKey {
|
D | KeyPairTest.java | 52 static PrivateKey getPrivate() { in getPrivate() 53 return new PrivateKey() { in getPrivate() 116 PrivateKey pk = TestKeyPair.getPrivate();
|
D | PrivateKeyTest.java | 24 import java.security.PrivateKey; 53 public class checkPrivateKey implements PrivateKey {
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
D | RSA_SHA1.java | 23 import java.security.PrivateKey; 89 private PrivateKey privateKey = null; 100 if (privateKeyObject instanceof PrivateKey) { in initialize() 101 privateKey = (PrivateKey)privateKeyObject; in initialize() 178 private PrivateKey getPrivateKeyFromDer(byte[] privateKeyObject) in getPrivateKeyFromDer() 185 private PrivateKey getPrivateKeyFromPem(String privateKeyObject) in getPrivateKeyFromPem()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/ |
D | ECPrivateKey.java | 4 import java.security.PrivateKey; 10 extends ECKey, PrivateKey
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 6 import java.security.PrivateKey; 21 protected PrivateKey engineGeneratePrivate( in engineGeneratePrivate() 30 PrivateKey key = BouncyCastleProvider.getPrivateKey(info); in engineGeneratePrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | AsymmetricKeyInfoConverter.java | 4 import java.security.PrivateKey; 12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGenerator3.java | 26 import java.security.PrivateKey; 44 PrivateKey priK = (new MyKeyPairGenerator1()).new PrivKey(); in generateKeyPair()
|
D | PrivateKeyStub.java | 24 import java.security.PrivateKey; 30 public class PrivateKeyStub implements PrivateKey {
|
D | MySignature2.java | 25 import java.security.PrivateKey; 49 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
|
D | MySignature1.java | 25 import java.security.PrivateKey; 64 protected void engineInitSign(PrivateKey privateKey) in engineInitSign()
|
D | TestKeyPair.java | 26 import java.security.PrivateKey; 595 public PrivateKey getPrivate() throws in getPrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | KeyFactorySpi.java | 6 import java.security.PrivateKey; 64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() 94 protected PrivateKey engineGeneratePrivate( in engineGeneratePrivate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyFactorySpi.java | 6 import java.security.PrivateKey; 67 protected PrivateKey engineGeneratePrivate( in engineGeneratePrivate() 91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/ |
D | rfc5208.py | 25 class PrivateKey(univ.OctetString): pass class 37 namedtype.NamedType('privateKey', PrivateKey()),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | DHUtil.java | 4 import java.security.PrivateKey; 37 PrivateKey key) in generatePrivateKeyParameter()
|