Home
last modified time | relevance | path

Searched refs:DSAPrivateKey (Results 1 – 19 of 19) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java24 import java.security.interfaces.DSAPrivateKey;
71 } else if (key1 instanceof DSAPrivateKey in isEqual()
72 && key2 instanceof DSAPrivateKey) { in isEqual()
73 DSAPrivateKey dsa1 = ((DSAPrivateKey) key1); in isEqual()
74 DSAPrivateKey dsa2 = ((DSAPrivateKey) key2); in isEqual()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DDSAKeyFactoryImplTest.java31 import java.security.interfaces.DSAPrivateKey;
63 static DSAPrivateKey privateKey;
111 privateKey = (DSAPrivateKey) keyPair.getPrivate();
223 private void checkPrivateIntegers(DSAPrivateKey pk) { in checkPrivateIntegers()
239 private void checkPrivateKeys(DSAPrivateKey pk) { in checkPrivateKeys()
406 checkPrivateKeys( (DSAPrivateKey) kf.generatePrivate(pkcs8KeySpec) ); in testGeneratePrivateKeySpec02()
420 checkPrivateKeys( (DSAPrivateKey) kf.generatePrivate(keySpec) ); in testGeneratePrivateKeySpec03()
432 DSAPrivateKey prKey; in testGeneratePrivateKeySpec04()
443 prKey = new DSAPrivateKey () { in testGeneratePrivateKeySpec04()
456 prKey = (DSAPrivateKey) kf.generatePrivate((KeySpec)ks); in testGeneratePrivateKeySpec04()
[all …]
DSHA1withDSA_SignatureTest.java42 import java.security.interfaces.DSAPrivateKey;
169 static private DSAPrivateKey getDSAPrivateKey(BigInteger p, BigInteger q, in getDSAPrivateKey()
176 return new DSAPrivateKey() { in getDSAPrivateKey()
1035 static DSAPrivateKey privateKey = new DSAPrivateKey() {
1119 static DSAPrivateKey getPrivateKey() {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java8 import java.security.interfaces.DSAPrivateKey;
38 …isAssignableFrom(DSAPrivateKeySpec.class) && key instanceof java.security.interfaces.DSAPrivateKey) in engineGetKeySpec()
40 java.security.interfaces.DSAPrivateKey k = (java.security.interfaces.DSAPrivateKey)key; in engineGetKeySpec()
56 else if (key instanceof DSAPrivateKey) in engineTranslateKey()
58 return new BCDSAPrivateKey((DSAPrivateKey)key); in engineTranslateKey()
DBCDSAPrivateKey.java8 import java.security.interfaces.DSAPrivateKey;
27 implements DSAPrivateKey, PKCS12BagAttributeCarrier
41 DSAPrivateKey key) in BCDSAPrivateKey()
111 if (!(o instanceof DSAPrivateKey)) in equals()
116 DSAPrivateKey other = (DSAPrivateKey)o; in equals()
DDSAUtil.java6 import java.security.interfaces.DSAPrivateKey;
62 if (key instanceof DSAPrivateKey) in generatePrivateKeyParameter()
64 DSAPrivateKey k = (DSAPrivateKey)key; in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java8 import java.security.interfaces.DSAPrivateKey;
29 implements DSAPrivateKey, PKCS12BagAttributeCarrier
43 DSAPrivateKey key) in JDKDSAPrivateKey()
122 if (!(o instanceof DSAPrivateKey)) in equals()
127 DSAPrivateKey other = (DSAPrivateKey)o; in equals()
/external/openssl/crypto/dsa/
Ddsa_asn1.c109 ASN1_SEQUENCE_cb(DSAPrivateKey, dsa_cb) = {
116 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
118 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
DDSAPrivateKeyTest.java27 import java.security.interfaces.DSAPrivateKey;
56 public class checkDSAPrivateKey implements DSAPrivateKey {
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
DDSAPrivateKey.java15 public class DSAPrivateKey class
23 public DSAPrivateKey(BigInteger p, BigInteger q, BigInteger g, in DSAPrivateKey() method in DSAPrivateKey
DDSASHA1Verify.java185 public static DSASignature generateSignature(byte[] message, DSAPrivateKey pk, SecureRandom rnd) in generateSignature()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/
DAuthenticationManager.java26 import ch.ethz.ssh2.signature.DSAPrivateKey;
192 if (key instanceof DSAPrivateKey) in authenticatePublicKey()
194 DSAPrivateKey pk = (DSAPrivateKey) key; in authenticatePublicKey()
/external/openssl/crypto/pem/
Dpem_all.c226 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
Dpem.h489 DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedGenerator.java8 import java.security.interfaces.DSAPrivateKey;
141 else if (key instanceof DSAPrivateKey || "DSA".equalsIgnoreCase(key.getAlgorithm())) in getEncOID()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
DPEMDecoder.java18 import ch.ethz.ssh2.signature.DSAPrivateKey;
356 return new DSAPrivateKey(p, q, g, y, x); in decode()
/external/dropbear/libtomcrypt/notes/
Dtech0006.txt35 DSAPrivateKey ::= SEQUENCE {
/external/openssl/include/openssl/
Dpem.h489 DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
/external/dropbear/libtomcrypt/
Dcrypt.tex3976 DSAPrivateKey ::= SEQUENCE {