Home
last modified time | relevance | path

Searched refs:DHParameters (Results 1 – 25 of 74) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHParameters.java8 public class DHParameters class
33 public DHParameters( in DHParameters() method in DHParameters
40 public DHParameters( in DHParameters() method in DHParameters
48 public DHParameters( in DHParameters() method in DHParameters
57 public DHParameters( in DHParameters() method in DHParameters
67 public DHParameters( in DHParameters() method in DHParameters
77 public DHParameters( in DHParameters() method in DHParameters
165 if (!(obj instanceof DHParameters)) in equals()
170 DHParameters pm = (DHParameters)obj; in equals()
DDHKeyGenerationParameters.java10 private DHParameters params;
14 DHParameters params) in DHKeyGenerationParameters()
21 public DHParameters getParameters() in getParameters()
26 static int getStrength(DHParameters params) in getStrength()
DDHKeyParameters.java7 private DHParameters params;
11 DHParameters params) in DHKeyParameters()
18 public DHParameters getParameters() in getParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDHParameters.java12 public class DHParameters class
37 public DHParameters( in DHParameters() method in DHParameters
44 public DHParameters( in DHParameters() method in DHParameters
52 public DHParameters( in DHParameters() method in DHParameters
61 public DHParameters( in DHParameters() method in DHParameters
71 public DHParameters( in DHParameters() method in DHParameters
81 public DHParameters( in DHParameters() method in DHParameters
169 if (!(obj instanceof DHParameters)) in equals()
174 DHParameters pm = (DHParameters)obj; in equals()
DDHKeyGenerationParameters.java14 private DHParameters params;
18 DHParameters params) in DHKeyGenerationParameters()
25 public DHParameters getParameters() in getParameters()
30 static int getStrength(DHParameters params) in getStrength()
DDHKeyParameters.java11 private DHParameters params;
15 DHParameters params) in DHKeyParameters()
22 public DHParameters getParameters() in getParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DDHParameters.java12 public class DHParameters class
37 public DHParameters( in DHParameters() method in DHParameters
44 public DHParameters( in DHParameters() method in DHParameters
52 public DHParameters( in DHParameters() method in DHParameters
61 public DHParameters( in DHParameters() method in DHParameters
71 public DHParameters( in DHParameters() method in DHParameters
81 public DHParameters( in DHParameters() method in DHParameters
169 if (!(obj instanceof DHParameters)) in equals()
174 DHParameters pm = (DHParameters)obj; in equals()
DDHKeyGenerationParameters.java14 private DHParameters params;
18 DHParameters params) in DHKeyGenerationParameters()
25 public DHParameters getParameters() in getParameters()
30 static int getStrength(DHParameters params) in getStrength()
DDHKeyParameters.java11 private DHParameters params;
15 DHParameters params) in DHKeyParameters()
22 public DHParameters getParameters() in getParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java23 import com.android.org.bouncycastle.crypto.params.DHParameters;
65 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG())); in BCDHPublicKey()
81 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
106 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
138 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG(), nul… in BCDHPublicKey()
143 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
154 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
159 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
188 DHParameters params = ((DHDomainParameterSpec)dhSpec).getDomainParameters(); in getEncoded()
202 return DHUtil.publicKeyToString("DH", y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in toString()
DDHUtil.java6 import com.android.org.bouncycastle.crypto.params.DHParameters;
13 static String privateKeyToString(String algorithm, BigInteger x, DHParameters dhParams) in privateKeyToString()
27 static String publicKeyToString(String algorithm, BigInteger y, DHParameters dhParams) in publicKeyToString()
39 private static String generateKeyFingerprint(BigInteger y, DHParameters dhParams) in generateKeyFingerprint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java22 import org.bouncycastle.crypto.params.DHParameters;
61 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG())); in BCDHPublicKey()
77 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
102 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
134 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG(), nul… in BCDHPublicKey()
139 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
150 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
155 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
184 DHParameters params = ((DHDomainParameterSpec)dhSpec).getDomainParameters(); in getEncoded()
198 return DHUtil.publicKeyToString("DH", y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in toString()
DDHUtil.java5 import org.bouncycastle.crypto.params.DHParameters;
12 static String privateKeyToString(String algorithm, BigInteger x, DHParameters dhParams) in privateKeyToString()
26 static String publicKeyToString(String algorithm, BigInteger y, DHParameters dhParams) in publicKeyToString()
38 private static String generateKeyFingerprint(BigInteger y, DHParameters dhParams) in generateKeyFingerprint()
DBCDHPrivateKey.java25 import org.bouncycastle.crypto.params.DHParameters;
91 … new DHParameters(params.getP(), params.getG(), null, params.getL().intValue())); in BCDHPrivateKey()
97 new DHParameters(params.getP(), params.getG())); in BCDHPrivateKey()
106 new DHParameters(params.getP(), params.getG(), params.getQ(), params.getJ(), null)); in BCDHPrivateKey()
156 DHParameters params = ((DHDomainParameterSpec)dhSpec).getDomainParameters(); in getEncoded()
179 return DHUtil.privateKeyToString("DH", x, new DHParameters(dhSpec.getP(), dhSpec.getG())); in toString()
203 …return new DHPrivateKeyParameters(x, new DHParameters(dhSpec.getP(), dhSpec.getG(), null, dhSpec.g… in engineGetKeyParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPublicKey.java23 import com.android.internal.org.bouncycastle.crypto.params.DHParameters;
65 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(spec.getP(), spec.getG())); in BCDHPublicKey()
81 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
106 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
138 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG(), nul… in BCDHPublicKey()
143 … this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in BCDHPublicKey()
154 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
159 …this.dhPublicKey = new DHPublicKeyParameters(y, new DHParameters(params.getP(), params.getG(), par… in BCDHPublicKey()
188 DHParameters params = ((DHDomainParameterSpec)dhSpec).getDomainParameters(); in getEncoded()
202 return DHUtil.publicKeyToString("DH", y, new DHParameters(dhSpec.getP(), dhSpec.getG())); in toString()
DDHUtil.java6 import com.android.internal.org.bouncycastle.crypto.params.DHParameters;
13 static String privateKeyToString(String algorithm, BigInteger x, DHParameters dhParams) in privateKeyToString()
27 static String publicKeyToString(String algorithm, BigInteger y, DHParameters dhParams) in publicKeyToString()
39 private static String generateKeyFingerprint(BigInteger y, DHParameters dhParams) in generateKeyFingerprint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DDHDomainParameterSpec.java7 import org.bouncycastle.crypto.params.DHParameters;
27 public DHDomainParameterSpec(DHParameters domainParameters) in DHDomainParameterSpec()
125 public DHParameters getDomainParameters() in getDomainParameters()
127 return new DHParameters(getP(), getG(), q, m, getL(), j, validationParameters); in getDomainParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/spec/
DDHDomainParameterSpec.java8 import com.android.org.bouncycastle.crypto.params.DHParameters;
29 public DHDomainParameterSpec(DHParameters domainParameters) in DHDomainParameterSpec()
127 public DHParameters getDomainParameters() in getDomainParameters()
129 return new DHParameters(getP(), getG(), q, m, getL(), j, validationParameters); in getDomainParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/spec/
DDHDomainParameterSpec.java8 import com.android.internal.org.bouncycastle.crypto.params.DHParameters;
29 public DHDomainParameterSpec(DHParameters domainParameters) in DHDomainParameterSpec()
127 public DHParameters getDomainParameters() in getDomainParameters()
129 return new DHParameters(getP(), getG(), q, m, getL(), j, validationParameters); in getDomainParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHParametersGenerator.java6 import org.bouncycastle.crypto.params.DHParameters;
40 public DHParameters generateParameters() in generateParameters()
51 return new DHParameters(p, g, q, TWO, null); in generateParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DDHParametersGenerator.java7 import com.android.org.bouncycastle.crypto.params.DHParameters;
44 public DHParameters generateParameters() in generateParameters()
55 return new DHParameters(p, g, q, TWO, null); in generateParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/
DDHParametersGenerator.java7 import com.android.internal.org.bouncycastle.crypto.params.DHParameters;
44 public DHParameters generateParameters() in generateParameters()
55 return new DHParameters(p, g, q, TWO, null); in generateParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java13 import org.bouncycastle.crypto.params.DHParameters;
231 if (property.type.isAssignableFrom(DHParameters.class)) in getSizedProperty()
235 DHParameters params = (DHParameters)values[i]; in getSizedProperty()
384 private static DHParameters toDH(DSAParameters dsaParams) in toDH()
388 return new DHParameters(dsaParams.getP(), dsaParams.getG(), dsaParams.getQ(), m, 0, null, in toDH()
430 …ublic static final Property DH_DEFAULT_PARAMS= new Property("dhDefaultParams", DHParameters.class);
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java14 import com.android.org.bouncycastle.crypto.params.DHParameters;
233 if (property.type.isAssignableFrom(DHParameters.class)) in getSizedProperty()
237 DHParameters params = (DHParameters)values[i]; in getSizedProperty()
386 private static DHParameters toDH(DSAParameters dsaParams) in toDH()
390 return new DHParameters(dsaParams.getP(), dsaParams.getG(), dsaParams.getQ(), m, 0, null, in toDH()
433 …ublic static final Property DH_DEFAULT_PARAMS= new Property("dhDefaultParams", DHParameters.class);
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DCryptoServicesRegistrar.java14 import com.android.internal.org.bouncycastle.crypto.params.DHParameters;
233 if (property.type.isAssignableFrom(DHParameters.class)) in getSizedProperty()
237 DHParameters params = (DHParameters)values[i]; in getSizedProperty()
386 private static DHParameters toDH(DSAParameters dsaParams) in toDH()
390 return new DHParameters(dsaParams.getP(), dsaParams.getG(), dsaParams.getQ(), m, 0, null, in toDH()
433 …ublic static final Property DH_DEFAULT_PARAMS= new Property("dhDefaultParams", DHParameters.class);

123