Home
last modified time | relevance | path

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

123

/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/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPublicKey.java41 this.dsaSpec = key.getParams(); in JDKDSAPublicKey()
109 public DSAParams getParams() in getParams() method in JDKDSAPublicKey
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()
DJDKDSAPrivateKey.java42 this.dsaSpec = key.getParams(); in JDKDSAPrivateKey()
97 public DSAParams getParams() in getParams() method in JDKDSAPrivateKey
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()
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()
DDSAUtil.java29 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePublicKeyParameter()
44 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePrivateKeyParameter()
DJCEDHKeyAgreement.java84 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase()
99 return new JCEDHPublicKey(result, pubKey.getParams()); in engineDoPhase()
189 this.p = privKey.getParams().getP(); in engineInit()
190 this.g = privKey.getParams().getG(); in engineInit()
208 this.p = privKey.getParams().getP(); in engineInit()
209 this.g = privKey.getParams().getG(); in engineInit()
DJDKKeyFactory.java139 return new DHPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec()
145 return new DHPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec()
152 …return new DSAPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getQ(), k.getParams().ge… in engineGetKeySpec()
158 …return new DSAPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getQ(), k.getParams().g… in engineGetKeySpec()
DJCEECPrivateKey.java63 this.ecSpec = key.getParams(); in JCEECPrivateKey()
73 if (spec.getParams() != null) // can be null if implicitlyCA in JCEECPrivateKey()
75 ECCurve curve = spec.getParams().getCurve(); in JCEECPrivateKey()
78 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in JCEECPrivateKey()
80 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in JCEECPrivateKey()
95 this.ecSpec = spec.getParams(); in JCEECPrivateKey()
346 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()
425 public ECParameterSpec getParams() in getParams() method in JCEECPublicKey
DJCEDHPublicKey.java43 this.dhSpec = key.getParams(); in JCEDHPublicKey()
129 public DHParameterSpec getParams() in getParams() method in JCEDHPublicKey
DJCEDHPrivateKey.java46 this.dhSpec = key.getParams(); in JCEDHPrivateKey()
131 public DHParameterSpec getParams() in getParams() method in JCEDHPrivateKey
/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/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/
DKeyFactory.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()
DECUtil.java131 ECParameterSpec s = EC5Util.convertSpec(pubKey.getParams(), false); in generatePublicKeyParameter()
133 EC5Util.convertPoint(pubKey.getParams(), pubKey.getW(), false), in generatePublicKeyParameter()
/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/bluetooth/bluez/test/
Dsap-client320 def getParams(self):
784 params = self.__rcvMsg(SAPMessage_CONNECT_RESP()).getParams()
792 params = self.__rcvMsg(SAPMessage_CONNECT_RESP()).getParams()
799 params = self.__rcvMsg(SAPMessage_STATUS_IND()).getParams()
830 params = self.__rcvMsg(SAPMessage_DISCONNECT_IND()).getParams()
846 params = self.__rcvMsg(SAPMessage_TRANSFER_APDU_RESP()).getParams()
855 params = self.__rcvMsg(SAPMessage_TRANSFER_ATR_RESP()).getParams()
864 params = self.__rcvMsg(SAPMessage_POWER_SIM_OFF_RESP()).getParams()
873 params = self.__rcvMsg(SAPMessage_POWER_SIM_ON_RESP()).getParams()
885 params = self.__rcvMsg(SAPMessage_RESET_SIM_RESP()).getParams()
[all …]
/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()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java75 setParams(request.getParams()); in RequestWrapper()
116 return HttpProtocolParams.getVersion(getParams()); in getProtocolVersion()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/spec/
DECKeySpec.java22 public ECParameterSpec getParams() in getParams() method in ECKeySpec
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpClient4.java89 client.getParams().setBooleanParameter(ClientPNames.HANDLE_REDIRECTS, false); in execute()
110 HttpParams params = client.getParams(); in SingleClient()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java117 String policy = HttpClientParams.getCookiePolicy(request.getParams()); in process()
147 CookieSpec cookieSpec = registry.getCookieSpec(policy, request.getParams()); in process()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DDHPrivateKeyTest.java73 public DHParameterSpec getParams() { in getParams() method in DHPrivateKeyTest.checkDHPrivateKey

123