Home
last modified time | relevance | path

Searched refs:getParams (Results 1 – 25 of 94) sorted by relevance

1234

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java67 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) in isEqual()
68 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
69 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); in isEqual()
76 && dsa1.getParams().getG().equals(dsa2.getParams().getG()) in isEqual()
77 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
78 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); in isEqual()
/external/chromium_org/tools/json_schema_compiler/
Didl_schema_test.py18 def getParams(schema, name): function
45 self.assertEquals(expected, getParams(schema, 'function4'))
49 self.assertEquals(expected, getParams(schema, 'function5'))
53 self.assertEquals(expected, getParams(schema, 'function6'))
60 self.assertEquals(expected, getParams(schema, 'function12'))
68 self.assertEquals(expected, getParams(schema, 'whatever'))
97 self.assertEquals(expected, getParams(schema, 'function13'))
101 self.assertEquals(expected, getParams(schema, 'function14'))
106 self.assertEquals(expected, getParams(schema, 'function20'))
111 self.assertEquals(expected, getParams(schema, 'function21'))
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java43 this.dsaSpec = key.getParams(); in BCDSAPrivateKey()
97 public DSAParams getParams() in getParams() method in BCDSAPrivateKey
118 && this.getParams().getG().equals(other.getParams().getG()) in equals()
119 && this.getParams().getP().equals(other.getParams().getP()) in equals()
120 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
125 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
126 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
DBCDSAPublicKey.java41 this.dsaSpec = key.getParams(); in BCDSAPublicKey()
109 public DSAParams getParams() in getParams() method in BCDSAPublicKey
132 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
133 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
147 && this.getParams().getG().equals(other.getParams().getG()) in equals()
148 && this.getParams().getP().equals(other.getParams().getP()) in equals()
149 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
DDSAUtil.java52 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePublicKeyParameter()
67 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePrivateKeyParameter()
DKeyFactorySpi.java36 …return new DSAPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getQ(), k.getParams().ge… in engineGetKeySpec()
42 …return new DSAPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getQ(), k.getParams().g… in engineGetKeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java42 this.dsaSpec = key.getParams(); in JDKDSAPublicKey()
117 public DSAParams getParams() in getParams() method in JDKDSAPublicKey
140 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
141 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
155 && this.getParams().getG().equals(other.getParams().getG()) in equals()
156 && this.getParams().getP().equals(other.getParams().getP()) in equals()
157 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
DJDKDSAPrivateKey.java45 this.dsaSpec = key.getParams(); in JDKDSAPrivateKey()
108 public DSAParams getParams() in getParams() method in JDKDSAPrivateKey
129 && this.getParams().getG().equals(other.getParams().getG()) in equals()
130 && this.getParams().getP().equals(other.getParams().getP()) in equals()
131 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
136 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
137 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
DDHUtil.java30 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter()
45 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
DJCEECPrivateKey.java65 this.ecSpec = key.getParams(); in JCEECPrivateKey()
75 if (spec.getParams() != null) // can be null if implicitlyCA in JCEECPrivateKey()
77 ECCurve curve = spec.getParams().getCurve(); in JCEECPrivateKey()
80 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPrivateKey()
82 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in JCEECPrivateKey()
97 this.ecSpec = spec.getParams(); in JCEECPrivateKey()
358 public ECParameterSpec getParams() in getParams() method in JCEECPrivateKey
DJCEECPublicKey.java77 this.ecSpec = spec.getParams(); in JCEECPublicKey()
88 if (spec.getParams() != null) // can be null if implictlyCa in JCEECPublicKey()
90 ECCurve curve = spec.getParams().getCurve(); in JCEECPublicKey()
91 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPublicKey()
93 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in JCEECPublicKey()
180 this.ecSpec = key.getParams(); in JCEECPublicKey()
431 public ECParameterSpec getParams() in getParams() method in JCEECPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java49 this.dhSpec = key.getParams(); in BCDHPrivateKey()
142 public DHParameterSpec getParams() in getParams() method in BCDHPrivateKey
163 && this.getParams().getG().equals(other.getParams().getG()) in equals()
164 && this.getParams().getP().equals(other.getParams().getP()) in equals()
165 && this.getParams().getL() == other.getParams().getL(); in equals()
170 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
171 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
DBCDHPublicKey.java45 this.dhSpec = key.getParams(); in BCDHPublicKey()
129 public DHParameterSpec getParams() in getParams() method in BCDHPublicKey
164 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
165 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
179 && this.getParams().getG().equals(other.getParams().getG()) in equals()
180 && this.getParams().getP().equals(other.getParams().getP()) in equals()
181 && this.getParams().getL() == other.getParams().getL(); in equals()
DKeyAgreementSpi.java99 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase()
114 return new BCDHPublicKey(result, pubKey.getParams()); in engineDoPhase()
204 this.p = privKey.getParams().getP(); in engineInit()
205 this.g = privKey.getParams().getG(); in engineInit()
223 this.p = privKey.getParams().getP(); in engineInit()
224 this.g = privKey.getParams().getG(); in engineInit()
DKeyFactorySpi.java39 return new DHPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec()
45 return new DHPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DDHUtil.java30 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter()
45 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePrivateKeyParameter()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java65 if (k.getParams() != null) in engineGetKeySpec()
67 return new java.security.spec.ECPublicKeySpec(k.getW(), k.getParams()); in engineGetKeySpec()
80 if (k.getParams() != null) in engineGetKeySpec()
82 return new java.security.spec.ECPrivateKeySpec(k.getS(), k.getParams()); in engineGetKeySpec()
94 if (k.getParams() != null) in engineGetKeySpec()
96 ….spec.ECPublicKeySpec(EC5Util.convertPoint(k.getParams(), k.getW(), false), EC5Util.convertSpec(k. in engineGetKeySpec()
102 …rn new org.bouncycastle.jce.spec.ECPublicKeySpec(EC5Util.convertPoint(k.getParams(), k.getW(), fal… in engineGetKeySpec()
109 if (k.getParams() != null) in engineGetKeySpec()
111 …ew org.bouncycastle.jce.spec.ECPrivateKeySpec(k.getS(), EC5Util.convertSpec(k.getParams(), false)); in engineGetKeySpec()
DBCECPrivateKey.java64 this.ecSpec = key.getParams(); in BCECPrivateKey()
76 if (spec.getParams() != null) // can be null if implicitlyCA in BCECPrivateKey()
78 ECCurve curve = spec.getParams().getCurve(); in BCECPrivateKey()
81 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPrivateKey()
83 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPrivateKey()
101 this.ecSpec = spec.getParams(); in BCECPrivateKey()
339 public ECParameterSpec getParams() in getParams() method in BCECPrivateKey
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECPrivateKey.java54 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPrivateKey()
66 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); in wrapPlatformKey()
82 .getParams()); in getInstance()
134 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPrivateKey
176 final ECParameterSpec spec = getParams(); in equals()
177 final ECParameterSpec otherSpec = other.getParams(); in equals()
DOpenSSLECKeyFactory.java86 return (T) new ECPublicKeySpec(ecKey.getW(), ecKey.getParams()); in engineGetKeySpec()
93 return (T) new ECPublicKeySpec(ecKey.getW(), ecKey.getParams()); in engineGetKeySpec()
97 return (T) new ECPrivateKeySpec(ecKey.getS(), ecKey.getParams()); in engineGetKeySpec()
105 return (T) new ECPrivateKeySpec(ecKey.getS(), ecKey.getParams()); in engineGetKeySpec()
143 ECParameterSpec params = ecKey.getParams(); in engineTranslateKey()
155 ECParameterSpec params = ecKey.getParams(); in engineTranslateKey()
DOpenSSLDHKeyFactory.java86 DHParameterSpec params = dhKey.getParams(); in engineGetKeySpec()
94 DHParameterSpec params = dhKey.getParams(); in engineGetKeySpec()
98 DHParameterSpec params = dhKey.getParams(); in engineGetKeySpec()
107 DHParameterSpec params = dhKey.getParams(); in engineGetKeySpec()
146 DHParameterSpec params = dhKey.getParams(); in engineTranslateKey()
160 DHParameterSpec params = dhKey.getParams(); in engineTranslateKey()
DOpenSSLECPublicKey.java53 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPublicKey()
66 .getInstance(ecPublicKey.getParams()); in getInstance()
92 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPublicKey
133 final ECParameterSpec spec = getParams(); in equals()
134 final ECParameterSpec otherSpec = other.getParams(); in equals()
DOpenSSLDSAKeyFactory.java85 DSAParams params = dsaKey.getParams(); in engineGetKeySpec()
95 DSAParams params = dsaKey.getParams(); in engineGetKeySpec()
101 DSAParams params = dsaKey.getParams(); in engineGetKeySpec()
111 DSAParams params = dsaKey.getParams(); in engineGetKeySpec()
151 DSAParams params = dsaKey.getParams(); in engineTranslateKey()
166 DSAParams params = dsaKey.getParams(); in engineTranslateKey()
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java122 public HttpParams getParams() { in getParams() method in HttpService
142 new DefaultedHttpParams(request.getParams(), this.params)); in handleRequest()
157 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
166 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
186 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
208 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultHttpRoutePlanner.java95 ConnRouteParams.getForcedRoute(request.getParams()); in determineRoute()
108 ConnRouteParams.getLocalAddress(request.getParams()); in determineRoute()
110 ConnRouteParams.getDefaultProxy(request.getParams()); in determineRoute()

1234