OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DSAPublicKey
(Results
1 - 25
of
40
) sorted by null
1
2
/libcore/luni/src/main/java/java/security/interfaces/
DSAPublicKey.java
26
public interface
DSAPublicKey
extends DSAKey, PublicKey {
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java
25
import java.security.interfaces.
DSAPublicKey
;
63
if (key1 instanceof
DSAPublicKey
&& key2 instanceof
DSAPublicKey
) {
64
DSAPublicKey
dsa1 = ((
DSAPublicKey
) key1);
65
DSAPublicKey
dsa2 = ((
DSAPublicKey
) key2);
/libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java
27
import java.security.interfaces.
DSAPublicKey
;
64
if (key1 instanceof
DSAPublicKey
&& key2 instanceof
DSAPublicKey
) {
65
DSAPublicKey
dsa1 = ((
DSAPublicKey
) key1);
66
DSAPublicKey
dsa2 = ((
DSAPublicKey
) key2);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
DSAPublicKeyTest.java
27
import java.security.interfaces.
DSAPublicKey
;
32
* Tests for <code>
DSAPublicKey
</code> class field
52
k.getSerVerUID(), //
DSAPublicKey
.serialVersionUID
55
public class checkDSAPublicKey implements
DSAPublicKey
{
57
return "
DSAPublicKey
";
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
DSAPublicKey.java
10
*
DSAPublicKey
.
15
public class
DSAPublicKey
22
public
DSAPublicKey
(BigInteger p, BigInteger q, BigInteger g, BigInteger y)
DSAPrivateKey.java
58
public
DSAPublicKey
getPublicKey()
60
return new
DSAPublicKey
(p, q, g, y);
DSASHA1Verify.java
26
public static
DSAPublicKey
decodeSSHDSAPublicKey(byte[] key) throws IOException
43
return new
DSAPublicKey
(p, q, g, y);
46
public static byte[] encodeSSHDSAPublicKey(
DSAPublicKey
pk) throws IOException
128
public static boolean verifySignature(byte[] message, DSASignature ds,
DSAPublicKey
dpk) throws IOException
/libcore/luni/src/test/java/tests/security/interfaces/
DSAPublicKeyTest.java
24
import java.security.interfaces.
DSAPublicKey
;
30
* java.security.interfaces.
DSAPublicKey
41
DSAPublicKey
publ = null;
50
publ = (
DSAPublicKey
) keys.getPublic();
58
publ = (
DSAPublicKey
) keys.getPublic();
DSAPrivateKeyTest.java
24
import java.security.interfaces.
DSAPublicKey
;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyFactorySpi.java
9
import java.security.interfaces.
DSAPublicKey
;
32
if (spec.isAssignableFrom(DSAPublicKeySpec.class) && key instanceof
DSAPublicKey
)
34
DSAPublicKey
k = (
DSAPublicKey
)key;
52
if (key instanceof
DSAPublicKey
)
54
return new BCDSAPublicKey((
DSAPublicKey
)key);
DSAUtil.java
7
import java.security.interfaces.
DSAPublicKey
;
47
if (key instanceof
DSAPublicKey
)
49
DSAPublicKey
k = (
DSAPublicKey
)key;
BCDSAPublicKey.java
8
import java.security.interfaces.
DSAPublicKey
;
23
implements
DSAPublicKey
38
DSAPublicKey
key)
139
if (!(o instanceof
DSAPublicKey
))
144
DSAPublicKey
other = (
DSAPublicKey
)o;
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLDSAPublicKey.java
22
import java.security.interfaces.
DSAPublicKey
;
26
public class OpenSSLDSAPublicKey implements
DSAPublicKey
{
60
static OpenSSLKey getInstance(
DSAPublicKey
dsaPublicKey
) throws InvalidKeyException {
62
final DSAParams dsaParams =
dsaPublicKey
.getParams();
67
dsaPublicKey
.getY().toByteArray(),
119
if (!(o instanceof
DSAPublicKey
)) {
125
DSAPublicKey
other = (
DSAPublicKey
) o;
OpenSSLDSAKeyFactory.java
27
import java.security.interfaces.
DSAPublicKey
;
90
if (key instanceof
DSAPublicKey
) {
91
DSAPublicKey
dsaKey = (
DSAPublicKey
) key;
125
throw new InvalidKeySpecException("Must be
DSAPublicKey
or DSAPrivateKey");
135
if (key instanceof
DSAPublicKey
) {
136
DSAPublicKey
dsaKey = (
DSAPublicKey
) key;
166
throw new InvalidKeyException("Key is not
DSAPublicKey
or DSAPrivateKey");
OpenSSLSignature.java
27
import java.security.interfaces.
DSAPublicKey
;
174
OpenSSLDSAPublicKey
dsaPublicKey
= (OpenSSLDSAPublicKey) publicKey;
175
key =
dsaPublicKey
.getOpenSSLKey();
176
} else if (publicKey instanceof
DSAPublicKey
) {
181
DSAPublicKey
dsaPublicKey
= (
DSAPublicKey
) publicKey;
182
key = OpenSSLDSAPublicKey.getInstance(
dsaPublicKey
);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator4Test.java
27
import java.security.interfaces.
DSAPublicKey
;
114
DSAPublicKey
key = (
DSAPublicKey
) keyPairGenerator.genKeyPair()
132
DSAPublicKey
key = (
DSAPublicKey
) keyPairGenerator.genKeyPair()
KeyPairGenerator5Test.java
27
import java.security.interfaces.
DSAPublicKey
;
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator4Test.java
25
import java.security.interfaces.
DSAPublicKey
;
112
DSAPublicKey
key = (
DSAPublicKey
) keyPairGenerator.genKeyPair()
130
DSAPublicKey
key = (
DSAPublicKey
) keyPairGenerator.genKeyPair()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAKeyFactoryImpl.java
28
import java.security.interfaces.
DSAPublicKey
;
67
* This method generates a
DSAPublicKey
object from the provided key specification.
70
* keySpec - the specification (key material) for the
DSAPublicKey
.
73
* a
DSAPublicKey
object
101
* either DSAPrivateKey or
DSAPublicKey
108
* if "keySpec" is not a specification for
DSAPublicKey
or
143
if (key instanceof
DSAPublicKey
) {
144
DSAPublicKey
publicKey = (
DSAPublicKey
) key;
166
throw new InvalidKeySpecException("'key' is neither
DSAPublicKey
nor DSAPrivateKey")
[
all
...]
SHA1withDSA_SignatureImpl.java
33
import java.security.interfaces.
DSAPublicKey
;
115
* publicKey
DSAPublicKey
object
117
* InvalidKeyException if publicKey is not
DSAPublicKey
object
127
if (publicKey == null || !(publicKey instanceof
DSAPublicKey
)) {
128
throw new InvalidKeyException("publicKey is not an instance of
DSAPublicKey
");
131
DSAParams params = ((
DSAPublicKey
) publicKey).getParams();
134
y = ((
DSAPublicKey
) publicKey).getY();
361
y = ((
DSAPublicKey
) dsaKey).getY();
DSAPublicKeyImpl.java
35
import java.security.interfaces.
DSAPublicKey
;
47
* The class provides
DSAPublicKey
functionality by extending a class implementing PublicKey
48
* and implementing methods defined in both interfaces, DSAKey and
DSAPublicKey
50
public class DSAPublicKeyImpl extends PublicKeyImpl implements
DSAPublicKey
{
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JDKDSAPublicKey.java
8
import java.security.interfaces.
DSAPublicKey
;
24
implements
DSAPublicKey
39
DSAPublicKey
key)
147
if (!(o instanceof
DSAPublicKey
))
152
DSAPublicKey
other = (
DSAPublicKey
)o;
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSAKeyFactoryImplTest.java
32
import java.security.interfaces.
DSAPublicKey
;
62
static
DSAPublicKey
publicKey;
110
publicKey = (
DSAPublicKey
) keyPair.getPublic();
190
private void checkPublicIntegers(
DSAPublicKey
pk) {
206
private void checkPublicKeys(
DSAPublicKey
pk) {
277
* The test checks out that the method returns
DSAPublicKey
282
checkPublicKeys( (
DSAPublicKey
) kf.generatePublic(x509KeySpec) );
288
* The test checks out that the method returns
DSAPublicKey
295
checkPublicKeys( (
DSAPublicKey
) kf.generatePublic(keySpec) );
307
DSAPublicKey
pubKey
[
all
...]
/external/openssl/crypto/dsa/
dsa_asn1.c
141
ASN1_CHOICE_cb(
DSAPublicKey
, dsa_cb) = {
144
} ASN1_CHOICE_END_cb(DSA,
DSAPublicKey
, write_params)
146
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA,
DSAPublicKey
,
DSAPublicKey
)
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
KnownHosts.java
27
import ch.ethz.ssh2.signature.
DSAPublicKey
;
117
DSAPublicKey
dpk = DSASHA1Verify.decodeSSHDSAPublicKey(serverHostKey);
504
if ((key1 instanceof
DSAPublicKey
) && (key2 instanceof
DSAPublicKey
))
506
DSAPublicKey
savedDSAKey = (
DSAPublicKey
) key1;
507
DSAPublicKey
remoteDSAKey = (
DSAPublicKey
) key2;
616
else if (key instanceof
DSAPublicKey
)
Completed in 604 milliseconds
1
2