Home
last modified time | relevance | path

Searched refs:getParams (Results 1 – 25 of 81) 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/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/
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()
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()
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()
432 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()
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()
DKeyAgreementSpi.java82 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase()
97 return new BCDHPublicKey(result, pubKey.getParams()); in engineDoPhase()
187 this.p = privKey.getParams().getP(); in engineInit()
188 this.g = privKey.getParams().getG(); in engineInit()
206 this.p = privKey.getParams().getP(); in engineInit()
207 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/ec/
DKeyFactorySpi.java64 if (k.getParams() != null) in engineGetKeySpec()
66 return new java.security.spec.ECPublicKeySpec(k.getW(), k.getParams()); in engineGetKeySpec()
79 if (k.getParams() != null) in engineGetKeySpec()
81 return new java.security.spec.ECPrivateKeySpec(k.getS(), k.getParams()); in engineGetKeySpec()
93 if (k.getParams() != null) in engineGetKeySpec()
95 ….spec.ECPublicKeySpec(EC5Util.convertPoint(k.getParams(), k.getW(), false), EC5Util.convertSpec(k. in engineGetKeySpec()
101 …rn new org.bouncycastle.jce.spec.ECPublicKeySpec(EC5Util.convertPoint(k.getParams(), k.getW(), fal… in engineGetKeySpec()
108 if (k.getParams() != null) in engineGetKeySpec()
110 …ew org.bouncycastle.jce.spec.ECPrivateKeySpec(k.getS(), EC5Util.convertSpec(k.getParams(), false)); in engineGetKeySpec()
DBCECPrivateKey.java67 this.ecSpec = key.getParams(); in BCECPrivateKey()
79 if (spec.getParams() != null) // can be null if implicitlyCA in BCECPrivateKey()
81 ECCurve curve = spec.getParams().getCurve(); in BCECPrivateKey()
84 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPrivateKey()
86 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPrivateKey()
104 this.ecSpec = spec.getParams(); in BCECPrivateKey()
377 public ECParameterSpec getParams() in getParams() method in BCECPrivateKey
DBCECPublicKey.java65 this.ecSpec = spec.getParams(); in BCECPublicKey()
78 if (spec.getParams() != null) // can be null if implictlyCa in BCECPublicKey()
80 ECCurve curve = spec.getParams().getCurve(); in BCECPublicKey()
81 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey()
83 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPublicKey()
170 this.ecSpec = key.getParams(); in BCECPublicKey()
335 public ECParameterSpec getParams() in getParams() method in BCECPublicKey
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java117 public HttpParams getParams() { in getParams() method in HttpService
137 new DefaultedHttpParams(request.getParams(), this.params)); in handleRequest()
152 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
161 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
181 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
203 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DDSAKeyFactoryImplTest.java113 publicParams = publicKey.getParams();
128 privateParams = privateKey.getParams();
192 DSAParams params = pk.getParams(); in checkPublicIntegers()
225 DSAParams params = pk.getParams(); in checkPrivateIntegers()
321 public DSAParams getParams() { in testGeneratePublicKeySpec04()
363 public DSAParams getParams() { in testGeneratePublicKeySpec05()
446 public DSAParams getParams() { in testGeneratePrivateKeySpec04()
488 public DSAParams getParams() { in testGeneratePrivateKeySpec05()
634 public DSAParams getParams() { in testGetKeySpec05()
670 public DSAParams getParams() { in testGetKeySpec06()
[all …]
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultHttpRoutePlanner.java90 ConnRouteParams.getForcedRoute(request.getParams()); in determineRoute()
103 ConnRouteParams.getLocalAddress(request.getParams()); in determineRoute()
105 ConnRouteParams.getDefaultProxy(request.getParams()); in determineRoute()
DProxySelectorRoutePlanner.java130 ConnRouteParams.getForcedRoute(request.getParams()); in determineRoute()
143 ConnRouteParams.getLocalAddress(request.getParams()); in determineRoute()
148 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); in determineRoute()
/external/skia/src/gpu/effects/
DGrSingleTextureEffect.h37 fTextureAccess.getParams() == otherAccess.getParams() && in hasSameTextureParamsAndMatrix()
/external/apache-http/src/org/apache/http/message/
DBasicHttpRequest.java85 return HttpProtocolParams.getVersion(getParams()); in getProtocolVersion()
93 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams()); in getRequestLine()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator4Test.java116 DSAParams params = key.getParams(); in test_initializeLjava_security_spec_AlgorithmParameterSpec()
134 DSAParams params = key.getParams(); in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()

1234