HomeSort by relevance Sort by last modified time
    Searched refs:PrivateKey (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/main/java/java/security/
PrivateKey.java 21 * {@code PrivateKey} is the common interface for private keys.
25 public interface PrivateKey extends Key {
KeyPair.java 26 * @see PrivateKey
32 private final PrivateKey privateKey;
41 * @param privateKey
44 public KeyPair(PublicKey publicKey, PrivateKey privateKey) {
45 this.privateKey = privateKey;
54 public PrivateKey getPrivate() {
55 return privateKey;
    [all...]
Signer.java 33 private PrivateKey privateKey;
70 public PrivateKey getPrivateKey() {
71 return privateKey;
93 this.privateKey = pair.getPrivate();
KeyFactorySpi.java 45 * Generates a instance of {@code PrivateKey} from the given key
54 protected abstract PrivateKey engineGeneratePrivate(KeySpec keySpec)
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/
ECPrivateKey.java 4 import java.security.PrivateKey;
10 extends ECKey, PrivateKey
  /libcore/luni/src/main/java/java/security/interfaces/
DSAPrivateKey.java 21 import java.security.PrivateKey;
26 public interface DSAPrivateKey extends DSAKey, PrivateKey {
ECPrivateKey.java 21 import java.security.PrivateKey;
26 public interface ECPrivateKey extends PrivateKey, ECKey {
RSAPrivateKey.java 21 import java.security.PrivateKey;
26 public interface RSAPrivateKey extends PrivateKey, RSAKey {
  /libcore/luni/src/main/java/javax/crypto/interfaces/
DHPrivateKey.java 21 import java.security.PrivateKey;
26 public interface DHPrivateKey extends DHKey, PrivateKey {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
PrivateKeyTest.java 25 import java.security.PrivateKey;
30 * Tests for <code>PrivateKey</code> class field
40 assertEquals("Incorrect serialVersionUID", cPrKey.getSerVerUID(), //PrivateKey.serialVersionUID,
44 public class checkPrivateKey implements PrivateKey {
KSPrivateKeyEntryTest.java 26 import java.security.PrivateKey;
42 private PrivateKey testPrivateKey;
53 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() :
54 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm()));
58 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code>
60 * Assertion: throws NullPointerException when privateKey is null
64 PrivateKey pk = null;
67 fail("NullPointerException must be thrown when privateKey is null");
73 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code
    [all...]
KeyPairTest.java 26 import java.security.PrivateKey;
52 static PrivateKey getPrivate() {
53 return new PrivateKey() {
69 * Test #1 for <code>KeyPair(PublicKey, PrivateKey)</code> constructor<br>
84 * Test #2 for <code>KeyPair(PublicKey, PrivateKey)</code> constructor<br>
109 PrivateKey pk = TestKeyPair.getPrivate();
  /frameworks/base/keystore/java/android/security/
KeyChainAliasCallback.java 19 import java.security.PrivateKey;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
PrivateKeyTest.java 23 import java.security.PrivateKey;
29 * Tests for <code>PrivateKey</code> class field
49 assertEquals("Incorrect serialVersionUID", cPrKey.getSerVerUID(), //PrivateKey.serialVersionUID,
53 public class checkPrivateKey implements PrivateKey {
KSPrivateKeyEntryTest.java 48 private PrivateKey testPrivateKey;
59 testPrivateKey = (diffKeys ? (PrivateKey)new tmpPrivateKey() :
60 (PrivateKey)new tmpPrivateKey(testChain[0].getPublicKey().getAlgorithm()));
64 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code>
66 * Assertion: throws NullPointerException when privateKey is null
70 PrivateKey pk = null;
73 fail("NullPointerException must be thrown when privateKey is null");
79 * Test for <code>PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)</code
    [all...]
KeyPairTest.java 49 static PrivateKey getPrivate() {
50 return new PrivateKey() {
73 * Test #1 for <code>KeyPair(PublicKey, PrivateKey)</code> constructor<br>
83 * Test #2 for <code>KeyPair(PublicKey, PrivateKey)</code> constructor<br>
108 PrivateKey pk = TestKeyPair.getPrivate();
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyPairGenerator3.java 26 import java.security.PrivateKey;
45 PrivateKey priK = (new MyKeyPairGenerator1()).new PrivKey();
PrivateKeyStub.java 24 import java.security.PrivateKey;
27 * Stub for interface PrivateKey tests
30 public class PrivateKeyStub implements PrivateKey {
MySignature2.java 25 import java.security.PrivateKey;
50 protected void engineInitSign(PrivateKey privateKey)
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyKeyPairGenerator3.java 27 import java.security.PrivateKey;
46 PrivateKey priK = (new MyKeyPairGenerator1()).new PrivKey();
PrivateKeyStub.java 25 import java.security.PrivateKey;
28 * Stub for interface PrivateKey tests
31 public class PrivateKeyStub implements PrivateKey {
MySignature2.java 26 import java.security.PrivateKey;
51 protected void engineInitSign(PrivateKey privateKey)
  /frameworks/base/core/java/android/webkit/
SslClientCertLookupTable.java 19 import java.security.PrivateKey;
30 private final Map<String, PrivateKey> privateKeys;
42 privateKeys = new HashMap<String, PrivateKey>();
47 public void Allow(String host_and_port, PrivateKey privateKey, byte[][] chain) {
48 privateKeys.put(host_and_port, privateKey);
67 public PrivateKey PrivateKey(String host_and_port) {
  /libcore/luni/src/main/java/javax/net/ssl/
X509KeyManager.java 22 import java.security.PrivateKey;
112 public PrivateKey getPrivateKey(String alias);
  /libcore/luni/src/main/java/org/apache/harmony/security/
PrivateKeyImpl.java 21 import java.security.PrivateKey;
26 public class PrivateKeyImpl implements PrivateKey {

Completed in 396 milliseconds

1 2 3 4 5 6