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

1 2 3 4 5 6 7 8

  /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 32 private PrivateKey privateKey;
69 public PrivateKey getPrivateKey() {
70 return privateKey;
92 this.privateKey = pair.getPrivate();
  /external/bouncycastle/bcprov/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...]
  /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...]
  /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)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricKeyInfoConverter.java 4 import java.security.PrivateKey;
12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
  /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)
  /external/chromium_org/net/quic/crypto/
crypto_server_config_protobuf.h 24 // PrivateKey contains a QUIC tag of a key exchange algorithm and a
27 class NET_EXPORT_PRIVATE PrivateKey {
54 const PrivateKey& key(size_t i) const {
67 QuicServerConfigProtobuf::PrivateKey* add_key() {
68 keys_.push_back(new PrivateKey);
89 std::vector<PrivateKey*> keys_;
  /libcore/support/src/test/java/libcore/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java 23 import java.security.PrivateKey;
37 private final Map<String, PrivateKey> cachedKeys = new HashMap<String, PrivateKey>();
44 public PrivateKey getPrivateKey(String alias) {
45 PrivateKey originalPrivateKey = super.getPrivateKey(alias);
50 PrivateKey result;
  /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 {
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidKeyStore.java 14 import java.security.PrivateKey;
41 * @param key A PrivateKey instance, must implement RSAKey.
46 public static byte[] getRSAKeyModulus(PrivateKey key) {
61 * @param key A PrivateKey instance. Must implement DSAKey.
66 public static byte[] getDSAKeyParamQ(PrivateKey key) {
79 * @param key A PrivateKey instance. Must implement ECKey.
84 public static byte[] getECKeyOrder(PrivateKey key) {
95 * Returns the encoded data corresponding to a given PrivateKey.
99 * @param key A PrivateKey instance
103 public static byte[] getPrivateKeyEncodedBytes(PrivateKey key)
    [all...]

Completed in 346 milliseconds

1 2 3 4 5 6 7 8