Home
last modified time | relevance | path

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

123456

/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/jce/provider/
DJDKDSAPrivateKey.java43 this.dsaSpec = key.getParams(); in JDKDSAPrivateKey()
106 public DSAParams getParams() in getParams() method in JDKDSAPrivateKey
127 && this.getParams().getG().equals(other.getParams().getG()) in equals()
128 && this.getParams().getP().equals(other.getParams().getP()) in equals()
129 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
134 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
135 ^ 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.java80 this.ecSpec = spec.getParams(); in JCEECPublicKey()
91 if (spec.getParams() != null) // can be null if implictlyCa in JCEECPublicKey()
93 ECCurve curve = spec.getParams().getCurve(); in JCEECPublicKey()
94 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPublicKey()
96 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in JCEECPublicKey()
183 this.ecSpec = key.getParams(); in JCEECPublicKey()
435 public ECParameterSpec getParams() in getParams() method in JCEECPublicKey
/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.java42 this.dsaSpec = key.getParams(); in BCDSAPublicKey()
110 public DSAParams getParams() in getParams() method in BCDSAPublicKey
133 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
134 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
148 && this.getParams().getG().equals(other.getParams().getG()) in equals()
149 && this.getParams().getP().equals(other.getParams().getP()) in equals()
150 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
DDSAUtil.java55 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePublicKeyParameter()
70 … 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/jcajce/provider/asymmetric/dh/
DBCDHPrivateKey.java50 this.dhSpec = key.getParams(); in BCDHPrivateKey()
143 public DHParameterSpec getParams() in getParams() method in BCDHPrivateKey
164 && this.getParams().getG().equals(other.getParams().getG()) in equals()
165 && this.getParams().getP().equals(other.getParams().getP()) in equals()
166 && this.getParams().getL() == other.getParams().getL(); in equals()
171 return this.getX().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
172 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
DBCDHPublicKey.java46 this.dhSpec = key.getParams(); in BCDHPublicKey()
130 public DHParameterSpec getParams() in getParams() method in BCDHPublicKey
165 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode()
166 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode()
180 && this.getParams().getG().equals(other.getParams().getG()) in equals()
181 && this.getParams().getP().equals(other.getParams().getP()) in equals()
182 && 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()
184 this.p = privKey.getParams().getP(); in engineInit()
185 this.g = privKey.getParams().getG(); in engineInit()
195 this.p = privKey.getParams().getP(); in engineInit()
196 this.g = privKey.getParams().getG(); in engineInit()
214 this.p = privKey.getParams().getP(); in engineInit()
215 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.java65 this.ecSpec = key.getParams(); in BCECPrivateKey()
77 if (spec.getParams() != null) // can be null if implicitlyCA in BCECPrivateKey()
79 ECCurve curve = spec.getParams().getCurve(); in BCECPrivateKey()
82 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPrivateKey()
84 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPrivateKey()
102 this.ecSpec = spec.getParams(); in BCECPrivateKey()
314 public ECParameterSpec getParams() in getParams() method in BCECPrivateKey
DBCECPublicKey.java68 this.ecSpec = spec.getParams(); in BCECPublicKey()
81 if (spec.getParams() != null) // can be null if implictlyCa in BCECPublicKey()
83 ECCurve curve = spec.getParams().getCurve(); in BCECPublicKey()
84 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey()
88 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPublicKey()
176 this.ecSpec = key.getParams(); in BCECPublicKey()
315 public ECParameterSpec getParams() in getParams() method in BCECPublicKey
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECPrivateKey.java57 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPrivateKey()
69 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); in wrapPlatformKey()
85 params = ((ECKey) privateKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly()
87 params = ((ECKey) publicKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly()
105 params = ((ECKey) privateKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly()
132 .getParams()); in getInstance()
184 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPrivateKey
226 final ECParameterSpec spec = getParams(); in equals()
227 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()
DOpenSSLECPublicKey.java53 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPublicKey()
66 .getInstance(ecPublicKey.getParams()); in getInstance()
93 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPublicKey
134 final ECParameterSpec spec = getParams(); in equals()
135 final ECParameterSpec otherSpec = other.getParams(); in equals()
DChainStrengthAnalyzer.java78 ((ECPublicKey) pubkey).getParams().getCurve().getField().getFieldSize(); in checkKeyLength()
84 int pLength = ((DSAPublicKey) pubkey).getParams().getP().bitLength(); in checkKeyLength()
85 int qLength = ((DSAPublicKey) pubkey).getParams().getQ().bitLength(); in checkKeyLength()
/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()
/external/apache-http/src/org/apache/http/message/
DBasicHttpRequest.java90 return HttpProtocolParams.getVersion(getParams()); in getProtocolVersion()
98 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams()); in getRequestLine()

123456