OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DHPublicKey
(Results
1 - 20
of
20
) sorted by null
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DHPublicKey.java
11
* X9.42 definition of a
DHPublicKey
13
*
DHPublicKey
::= INTEGER
16
public class
DHPublicKey
22
* Return a
DHPublicKey
from the passed in tagged object.
26
* @return a
DHPublicKey
28
public static
DHPublicKey
getInstance(ASN1TaggedObject obj, boolean explicit)
34
* Return a
DHPublicKey
from the passed in object.
37
* @return a
DHPublicKey
39
public static
DHPublicKey
getInstance(Object obj)
41
if (obj == null || obj instanceof
DHPublicKey
)
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/
DHPublicKey.java
12
* X9.42 definition of a
DHPublicKey
14
*
DHPublicKey
::= INTEGER
18
public class
DHPublicKey
24
* Return a
DHPublicKey
from the passed in tagged object.
28
* @return a
DHPublicKey
30
public static
DHPublicKey
getInstance(ASN1TaggedObject obj, boolean explicit)
36
* Return a
DHPublicKey
from the passed in object.
39
* @return a
DHPublicKey
41
public static
DHPublicKey
getInstance(Object obj)
43
if (obj == null || obj instanceof
DHPublicKey
)
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DHUtil.java
8
import javax.crypto.interfaces.
DHPublicKey
;
30
if (key instanceof
DHPublicKey
)
32
DHPublicKey
k = (
DHPublicKey
)key;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DHUtil.java
8
import javax.crypto.interfaces.
DHPublicKey
;
25
if (key instanceof
DHPublicKey
)
27
DHPublicKey
k = (
DHPublicKey
)key;
JCEDHPublicKey.java
8
import javax.crypto.interfaces.
DHPublicKey
;
25
implements
DHPublicKey
41
DHPublicKey
key)
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DHUtil.java
9
import javax.crypto.interfaces.
DHPublicKey
;
32
if (key instanceof
DHPublicKey
)
34
DHPublicKey
k = (
DHPublicKey
)key;
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DHUtil.java
9
import javax.crypto.interfaces.
DHPublicKey
;
27
if (key instanceof
DHPublicKey
)
29
DHPublicKey
k = (
DHPublicKey
)key;
JCEDHPublicKey.java
9
import javax.crypto.interfaces.
DHPublicKey
;
29
implements
DHPublicKey
45
DHPublicKey
key)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java
12
import javax.crypto.interfaces.
DHPublicKey
;
42
else if (spec.isAssignableFrom(DHPublicKeySpec.class) && key instanceof
DHPublicKey
)
44
DHPublicKey
k = (
DHPublicKey
)key;
56
if (key instanceof
DHPublicKey
)
58
return new BCDHPublicKey((
DHPublicKey
)key);
KeyAgreementSpi.java
16
import javax.crypto.interfaces.
DHPublicKey
;
152
if (!(key instanceof
DHPublicKey
))
154
throw new InvalidKeyException("DHKeyAgreement doPhase requires
DHPublicKey
");
156
DHPublicKey
pubKey = (
DHPublicKey
)key;
160
throw new InvalidKeyException("
DHPublicKey
not for this KeyAgreement!");
163
BigInteger peerY = ((
DHPublicKey
)key).getY();
420
if (pubKey instanceof
DHPublicKey
)
428
DHPublicKey
pub = (
DHPublicKey
)pubKey
[
all
...]
BCDHPublicKey.java
8
import javax.crypto.interfaces.
DHPublicKey
;
29
implements
DHPublicKey
35
private transient DHPublicKeyParameters
dhPublicKey
;
44
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG()));
48
DHPublicKey
key)
52
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()));
60
this.
dhPublicKey
= params;
72
this.
dhPublicKey
= new DHPublicKeyParameters(y, ((DHDomainParameterSpec)dhSpec).getDomainParameters());
76
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()));
113
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()))
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java
13
import javax.crypto.interfaces.
DHPublicKey
;
46
else if (spec.isAssignableFrom(DHPublicKeySpec.class) && key instanceof
DHPublicKey
)
48
DHPublicKey
k = (
DHPublicKey
)key;
60
if (key instanceof
DHPublicKey
)
62
return new BCDHPublicKey((
DHPublicKey
)key);
KeyAgreementSpi.java
17
import javax.crypto.interfaces.
DHPublicKey
;
154
if (!(key instanceof
DHPublicKey
))
156
throw new InvalidKeyException("DHKeyAgreement doPhase requires
DHPublicKey
");
158
DHPublicKey
pubKey = (
DHPublicKey
)key;
162
throw new InvalidKeyException("
DHPublicKey
not for this KeyAgreement!");
165
BigInteger peerY = ((
DHPublicKey
)key).getY();
422
if (pubKey instanceof
DHPublicKey
)
430
DHPublicKey
pub = (
DHPublicKey
)pubKey
[
all
...]
BCDHPublicKey.java
9
import javax.crypto.interfaces.
DHPublicKey
;
33
implements
DHPublicKey
39
private transient DHPublicKeyParameters
dhPublicKey
;
48
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG()));
52
DHPublicKey
key)
56
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()));
64
this.
dhPublicKey
= params;
76
this.
dhPublicKey
= new DHPublicKeyParameters(y, ((DHDomainParameterSpec)dhSpec).getDomainParameters());
80
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()));
117
this.
dhPublicKey
= new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG()))
[
all
...]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
PublicKeyProtoUtil.java
19
import com.google.security.cryptauth.lib.securemessage.SecureMessageProto.
DhPublicKey
;
41
import javax.crypto.interfaces.
DHPublicKey
;
187
if (pk instanceof
DHPublicKey
) {
219
* Encodes a 2048-bit {@link
DhPublicKey
} using the {@link #DH_G} group to a
220
* {@link
DhPublicKey
} proto message.
222
public static
DhPublicKey
encodeDh2048PublicKey(PublicKey pk) {
223
DHPublicKey
dhpk = pkToDHPublicKey(pk);
224
return
DhPublicKey
.newBuilder()
316
* Extracts a {@link
DHPublicKey
} from an {@link
DhPublicKey
} proto message
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java
38
import org.bouncycastle.asn1.x9.
DHPublicKey
;
191
DHPublicKey
dhPublicKey
=
DHPublicKey
.getInstance(keyInfo.parsePublicKey());
193
BigInteger y =
dhPublicKey
.getY();
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
PublicKeyFactory.java
39
import com.android.org.bouncycastle.asn1.x9.
DHPublicKey
;
193
DHPublicKey
dhPublicKey
=
DHPublicKey
.getInstance(keyInfo.parsePublicKey());
195
BigInteger y =
dhPublicKey
.getY();
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
KeyPairGeneratorTest.java
56
import javax.crypto.interfaces.
DHPublicKey
;
387
if (k instanceof
DHPublicKey
) {
388
DHPublicKey
dhPub = (
DHPublicKey
) k;
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
KeyPairGeneratorTest.java
57
import javax.crypto.interfaces.
DHPublicKey
;
390
if (k instanceof
DHPublicKey
) {
391
DHPublicKey
dhPub = (
DHPublicKey
) k;
/external/python/pyasn1-modules/pyasn1_modules/
rfc3279.py
70
class
DHPublicKey
(univ.Integer):
Completed in 859 milliseconds