HomeSort by relevance Sort by last modified time
    Searched full:privatekey (Results 76 - 100 of 699) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 19 import java.security.PrivateKey;
61 public PrivateKey getPrivateKey(String alias) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactorySpiTest.java 21 import java.security.PrivateKey;
56 protected PrivateKey engineGeneratePrivate(KeySpec keySpec){
  /libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 21 import java.security.PrivateKey;
73 public PrivateKey getPrivateKey(String alias) {
  /external/boringssl/src/ssl/test/runner/
tls.go 220 cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes)
234 priv, ok := cert.PrivateKey.(*rsa.PrivateKey)
244 priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey)
255 priv, ok := cert.PrivateKey.(ed25519.PrivateKey)
296 func parsePrivateKey(der []byte) (crypto.PrivateKey, error) {
302 case *rsa.PrivateKey, *ecdsa.PrivateKey
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
KeyManagementTest.java 52 import java.security.PrivateKey;
114 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA");
138 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA");
151 // Verify the granted key is actually obtainable in PrivateKey form.
176 final PrivateKey privKey = loadPrivateKeyFromAsset("user-cert-chain.key");
187 // Verify the granted key is actually obtainable in PrivateKey form.
203 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA")
    [all...]
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 34 import java.security.PrivateKey;
274 @Override public PrivateKey getPrivateKey(String alias) {
277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this,
279 log("privateKey=" + privateKey);
280 return privateKey;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509V3CertificateGenerator.java 10 import java.security.PrivateKey;
324 PrivateKey key)
344 PrivateKey key,
364 PrivateKey key,
378 PrivateKey key,
414 PrivateKey key)
430 PrivateKey key,
461 PrivateKey key,
474 PrivateKey key,
  /cts/tests/tests/keystore/src/android/keystore/cts/
RSASignatureTest.java 19 import java.security.PrivateKey;
61 PrivateKey privateKey = keyPair.getKeystoreBackedKeyPair().getPrivate();
73 signature.initSign(privateKey);
83 signature.initSign(privateKey);
  /external/conscrypt/common/src/main/java/org/conscrypt/
AbstractConscryptEngine.java 20 import java.security.PrivateKey;
60 * Sets the {@link PrivateKey} to be used for TLS Channel ID by this client engine.
64 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables
71 abstract void setChannelIdPrivateKey(PrivateKey privateKey);
AbstractConscryptSocket.java 23 import java.security.PrivateKey;
127 * Sets the {@link PrivateKey} to be used for TLS Channel ID by this client socket.
131 * @param privateKey private key (enables TLS Channel ID) or {@code null} for no key (disables
138 abstract void setChannelIdPrivateKey(PrivateKey privateKey);
OpenSSLECKeyFactory.java 23 import java.security.PrivateKey;
60 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
110 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) {
120 } else if (key instanceof PrivateKey
178 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
OpenSSLECDHKeyAgreement.java 22 import java.security.PrivateKey;
125 if (!(key instanceof PrivateKey)) {
129 OpenSSLKey openSslKey = OpenSSLKey.fromPrivateKey((PrivateKey) key);
OpenSSLSocketImpl.java 24 import java.security.PrivateKey;
111 public abstract void setChannelIdPrivateKey(PrivateKey privateKey);
OpenSSLRSAKeyFactory.java 23 import java.security.PrivateKey;
61 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
129 } else if (key instanceof PrivateKey
148 } else if (key instanceof PrivateKey && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) {
158 } else if (key instanceof PrivateKey
230 } else if ((key instanceof PrivateKey) && ("PKCS#8".equals(key.getFormat()))) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 6 import java.security.PrivateKey;
83 protected PrivateKey engineGeneratePrivate(
133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
DigestSignatureSpi.java 6 import java.security.PrivateKey;
85 PrivateKey privateKey)
88 if (!(privateKey instanceof RSAPrivateKey))
90 throw new InvalidKeyException("Supplied key (" + getType(privateKey) + ") is not a RSAPrivateKey instance");
93 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey);
  /libcore/luni/src/test/java/tests/targets/security/
SignatureTestMD2withRSA.java 21 import java.security.PrivateKey;
142 protected void engineInitSign(PrivateKey privateKey)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 24 import java.security.PrivateKey;
87 * Additional class to create PrivateKey object
89 public static class MyPrivateKey implements PrivateKey {
MyKeyPairGenerator1.java 29 import java.security.PrivateKey;
120 public class PrivKey implements PrivateKey {
  /tools/apksig/src/test/java/com/android/apksig/internal/util/
Resources.java 23 import java.security.PrivateKey;
77 public static PrivateKey toPrivateKey(Class <?> cls, String resourceName)
88 public static PrivateKey toPrivateKey(
  /tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
SignatureAlgorithm.java 35 /** Name of the private key as reported by {@code PrivateKey}. */
52 * @param keyAlgorithm the name as reported by {@code PrivateKey}
67 * @param keyAlgorithm the named referred in the {@code PrivateKey}
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 36 import java.security.PrivateKey;
204 final PrivateKey privateKey = getPrivateKey(alias);
216 privateKeyTv.setText(privateKey.getFormat() + ":" + privateKey);
273 private PrivateKey getPrivateKey(String alias) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DSAUtil.java 4 import java.security.PrivateKey;
87 PrivateKey key)
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreSignatureSpiBase.java 33 import java.security.PrivateKey;
76 protected final void engineInitSign(PrivateKey key) throws InvalidKeyException {
81 protected final void engineInitSign(PrivateKey privateKey, SecureRandom random)
87 if (privateKey == null) {
91 if (privateKey instanceof AndroidKeyStorePrivateKey) {
92 keystoreKey = (AndroidKeyStoreKey) privateKey;
94 throw new InvalidKeyException("Unsupported private key type: " + privateKey);
  /libcore/ojluni/src/main/java/java/security/
PrivateKey.java 42 * Finally, since {@code PrivateKey} is {@code Serializable}, implementations
59 public interface PrivateKey extends Key, javax.security.auth.Destroyable {

Completed in 2527 milliseconds

1 2 34 5 6 7 8 91011>>