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

1 2

  /libcore/luni/src/main/java/java/security/interfaces/
DSAPrivateKey.java 26 public interface DSAPrivateKey extends DSAKey, PrivateKey {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java 24 import java.security.interfaces.DSAPrivateKey;
71 } else if (key1 instanceof DSAPrivateKey
72 && key2 instanceof DSAPrivateKey) {
73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java 26 import java.security.interfaces.DSAPrivateKey;
72 } else if (key1 instanceof DSAPrivateKey
73 && key2 instanceof DSAPrivateKey) {
74 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1);
75 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2);
  /libcore/luni/src/test/java/tests/security/interfaces/
DSAPrivateKeyTest.java 23 import java.security.interfaces.DSAPrivateKey;
30 * java.security.interfaces.DSAPrivateKey
39 DSAPrivateKey key = (DSAPrivateKey) keyPair.getPrivate();
DSAPublicKeyTest.java 23 import java.security.interfaces.DSAPrivateKey;
40 DSAPrivateKey priv = null;
49 priv = (DSAPrivateKey) keys.getPrivate();
57 priv = (DSAPrivateKey) keys.getPrivate();
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
DSAPrivateKeyTest.java 27 import java.security.interfaces.DSAPrivateKey;
32 * Tests for <code>DSAPrivateKey</code> class field
52 k.getSerVerUID(), //DSAPrivateKey.serialVersionUID
56 public class checkDSAPrivateKey implements DSAPrivateKey {
58 return "DSAPrivateKey";
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyFactorySpi.java 8 import java.security.interfaces.DSAPrivateKey;
38 else if (spec.isAssignableFrom(DSAPrivateKeySpec.class) && key instanceof java.security.interfaces.DSAPrivateKey)
40 java.security.interfaces.DSAPrivateKey k = (java.security.interfaces.DSAPrivateKey)key;
56 else if (key instanceof DSAPrivateKey)
58 return new BCDSAPrivateKey((DSAPrivateKey)key);
DSAUtil.java 6 import java.security.interfaces.DSAPrivateKey;
62 if (key instanceof DSAPrivateKey)
64 DSAPrivateKey k = (DSAPrivateKey)key;
BCDSAPrivateKey.java 8 import java.security.interfaces.DSAPrivateKey;
26 implements DSAPrivateKey, PKCS12BagAttributeCarrier
40 DSAPrivateKey key)
110 if (!(o instanceof DSAPrivateKey))
115 DSAPrivateKey other = (DSAPrivateKey)o;
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
DSAPrivateKey.java 10 * DSAPrivateKey.
15 public class DSAPrivateKey
23 public DSAPrivateKey(BigInteger p, BigInteger q, BigInteger g,
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAKeyFactoryImpl.java 27 import java.security.interfaces.DSAPrivateKey;
39 * This method generates a DSAPrivateKey object from the provided key specification.
42 * keySpec - the specification (key material) for the DSAPrivateKey.
45 * a DSAPrivateKey object
101 * either DSAPrivateKey or DSAPublicKey
109 * DSAPrivateKey
120 if (key instanceof DSAPrivateKey) {
121 DSAPrivateKey privateKey = (DSAPrivateKey) key;
166 throw new InvalidKeySpecException("'key' is neither DSAPublicKey nor DSAPrivateKey");
    [all...]
SHA1withDSA_SignatureImpl.java 32 import java.security.interfaces.DSAPrivateKey;
70 * privateKey DSAPrivateKey object
72 * InvalidKeyException if privateKey is not DSAPrivateKey object
84 if (privateKey == null || !(privateKey instanceof DSAPrivateKey)) {
88 params = ((DSAPrivateKey) privateKey).getParams();
91 x = ((DSAPrivateKey) privateKey).getX();
213 x = ((DSAPrivateKey) dsaKey).getX();
DSAPrivateKeyImpl.java 33 import java.security.interfaces.DSAPrivateKey;
45 * The class provides DSAPrivateKey functionality by extending a class implementing PrivateKey
46 * and implementing methods defined in both interfaces, DSAKey and DSAPrivateKey
48 public class DSAPrivateKeyImpl extends PrivateKeyImpl implements DSAPrivateKey {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JDKDSAPrivateKey.java 8 import java.security.interfaces.DSAPrivateKey;
28 implements DSAPrivateKey, PKCS12BagAttributeCarrier
42 DSAPrivateKey key)
121 if (!(o instanceof DSAPrivateKey))
126 DSAPrivateKey other = (DSAPrivateKey)o;
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLDSAPrivateKey.java 26 import java.security.interfaces.DSAPrivateKey;
30 public class OpenSSLDSAPrivateKey implements DSAPrivateKey, OpenSSLKeyHolder {
65 static OpenSSLKey getInstance(DSAPrivateKey dsaPrivateKey) throws InvalidKeyException {
67 DSAParams dsaParams = dsaPrivateKey.getParams();
73 dsaPrivateKey.getX().toByteArray()));
146 if (!(o instanceof DSAPrivateKey)) {
163 final DSAPrivateKey other = (DSAPrivateKey) o;
OpenSSLDSAKeyFactory.java 26 import java.security.interfaces.DSAPrivateKey;
98 } else if (key instanceof DSAPrivateKey
100 DSAPrivateKey dsaKey = (DSAPrivateKey) key;
109 DSAPrivateKey dsaKey =
110 (DSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded));
161 } else if (key instanceof DSAPrivateKey) {
162 DSAPrivateKey dsaKey = (DSAPrivateKey) key;
OpenSSLSignature.java 26 import java.security.interfaces.DSAPrivateKey;
168 } else if (privateKey instanceof DSAPrivateKey) {
173 DSAPrivateKey dsaPrivateKey = (DSAPrivateKey) privateKey;
174 key = OpenSSLDSAPrivateKey.getInstance(dsaPrivateKey);
OpenSSLServerSocketImpl.java 24 import java.security.interfaces.DSAPrivateKey;
217 if (checkForPrivateKey(keyType, DSAPrivateKey.class)) {
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSAKeyFactoryImplTest.java 31 import java.security.interfaces.DSAPrivateKey;
63 static DSAPrivateKey privateKey;
111 privateKey = (DSAPrivateKey) keyPair.getPrivate();
223 private void checkPrivateIntegers(DSAPrivateKey pk) {
239 private void checkPrivateKeys(DSAPrivateKey pk) {
401 * The test checks out that the method returns DSAPrivateKey
406 checkPrivateKeys( (DSAPrivateKey) kf.generatePrivate(pkcs8KeySpec) );
412 * The test checks out that the method returns DSAPrivateKey
420 checkPrivateKeys( (DSAPrivateKey) kf.generatePrivate(keySpec) );
432 DSAPrivateKey prKey
    [all...]
SHA1withDSA_SignatureTest.java 42 import java.security.interfaces.DSAPrivateKey;
169 static private DSAPrivateKey getDSAPrivateKey(BigInteger p, BigInteger q,
176 return new DSAPrivateKey() {
292 * the method throws InvalidKeyException if PrivateKey is null or not DSAPrivateKey
312 * PrivateKey is DSAPrivateKey and the key is invalid, that is,
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/dsa/
dsa_asn1.c 109 ASN1_SEQUENCE_cb(DSAPrivateKey, dsa_cb) = {
116 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
118 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
  /external/openssl/crypto/dsa/
dsa_asn1.c 109 ASN1_SEQUENCE_cb(DSAPrivateKey, dsa_cb) = {
116 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
118 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidKeyStore.java 13 import java.security.interfaces.DSAPrivateKey;
152 } else if (privateKey instanceof DSAPrivateKey) {
189 if (privateKey instanceof DSAPrivateKey)
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/
AuthenticationManager.java 26 import ch.ethz.ssh2.signature.DSAPrivateKey;
192 if (key instanceof DSAPrivateKey)
194 DSAPrivateKey pk = (DSAPrivateKey) key;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.java 45 import java.security.interfaces.DSAPrivateKey;
758 DSAPrivateKey privateKey1 = (DSAPrivateKey)
    [all...]

Completed in 699 milliseconds

1 2