/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKDSAPrivateKey.java | 43 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()
|
D | JDKDSAPublicKey.java | 42 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()
|
D | DHUtil.java | 30 … 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()
|
D | JCEECPrivateKey.java | 65 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
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | BCDSAPrivateKey.java | 43 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()
|
D | BCDSAPublicKey.java | 46 this.dsaSpec = key.getParams(); in BCDSAPublicKey() 125 public DSAParams getParams() in getParams() method in BCDSAPublicKey 150 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 151 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode() 172 && other.getParams() != null in equals() 173 && this.getParams().getG().equals(other.getParams().getG()) in equals() 174 && this.getParams().getP().equals(other.getParams().getP()) in equals() 175 && this.getParams().getQ().equals(other.getParams().getQ()); in equals() 179 return this.getY().equals(other.getY()) && other.getParams() == null; in equals()
|
D | KeyFactorySpi.java | 36 …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()
|
D | DSAUtil.java | 96 … new DSAParameters(k.getParams().getP(), k.getParams().getQ(), k.getParams().getG())); in generatePrivateKeyParameter()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | BCDHPrivateKey.java | 50 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()
|
D | KeyAgreementSpi.java | 104 if (!pubKey.getParams().getG().equals(g) || !pubKey.getParams().getP().equals(p)) in engineDoPhase() 127 return new BCDHPublicKey(result, pubKey.getParams()); in engineDoPhase() 197 this.p = privKey.getParams().getP(); in engineInit() 198 this.g = privKey.getParams().getG(); in engineInit() 208 this.p = privKey.getParams().getP(); in engineInit() 209 this.g = privKey.getParams().getG(); in engineInit() 227 this.p = privKey.getParams().getP(); in engineInit() 228 this.g = privKey.getParams().getG(); in engineInit()
|
D | BCDHPublicKey.java | 50 this.dhSpec = key.getParams(); in BCDHPublicKey() 148 public DHParameterSpec getParams() in getParams() method in BCDHPublicKey 188 return this.getY().hashCode() ^ this.getParams().getG().hashCode() in hashCode() 189 ^ this.getParams().getP().hashCode() ^ this.getParams().getL(); in hashCode() 203 && this.getParams().getG().equals(other.getParams().getG()) in equals() 204 && this.getParams().getP().equals(other.getParams().getP()) in equals() 205 && this.getParams().getL() == other.getParams().getL(); in equals()
|
D | KeyFactorySpi.java | 40 return new DHPrivateKeySpec(k.getX(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec() 46 return new DHPublicKeySpec(k.getY(), k.getParams().getP(), k.getParams().getG()); in engineGetKeySpec()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | EcKeyTest.java | 156 assertEquals(priv.getParams().getCofactor(), decoded.getParams().getCofactor()); in testEncodedPrivateKey() 157 assertEquals(priv.getParams().getCurve(), decoded.getParams().getCurve()); in testEncodedPrivateKey() 158 assertEquals(priv.getParams().getGenerator(), decoded.getParams().getGenerator()); in testEncodedPrivateKey() 159 assertEquals(priv.getParams().getOrder(), decoded.getParams().getOrder()); in testEncodedPrivateKey() 209 int keySize = EcUtil.fieldSizeInBits(pub.getParams().getCurve()); in testDefaultKeyGeneration()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | DHUtil.java | 35 … new DHParameters(k.getParams().getP(), k.getParams().getG(), null, k.getParams().getL())); in generatePublicKeyParameter() 50 … 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/ |
D | KeyFactorySpi.java | 65 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()
|
D | BCECPublicKey.java | 63 this.ecSpec = spec.getParams(); in BCECPublicKey() 64 …rtPoint(ecSpec, spec.getW(), false), EC5Util.getDomainParameters(configuration, spec.getParams())); in BCECPublicKey() 75 if (spec.getParams() != null) // can be null if implictlyCa in BCECPublicKey() 77 ECCurve curve = spec.getParams().getCurve(); in BCECPublicKey() 78 EllipticCurve ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPublicKey() 82 spec.getQ(), ECUtil.getDomainParameters(configuration, spec.getParams())); in BCECPublicKey() 83 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPublicKey() 167 this.ecSpec = key.getParams(); in BCECPublicKey() 168 …oint(this.ecSpec, key.getW(), false), EC5Util.getDomainParameters(configuration, key.getParams())); in BCECPublicKey() 249 public ECParameterSpec getParams() in getParams() method in BCECPublicKey
|
D | BCECPrivateKey.java | 62 this.ecSpec = key.getParams(); in BCECPrivateKey() 74 if (spec.getParams() != null) // can be null if implicitlyCA in BCECPrivateKey() 76 ECCurve curve = spec.getParams().getCurve(); in BCECPrivateKey() 79 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); in BCECPrivateKey() 81 this.ecSpec = EC5Util.convertSpec(ellipticCurve, spec.getParams()); in BCECPrivateKey() 99 this.ecSpec = spec.getParams(); in BCECPrivateKey() 296 public ECParameterSpec getParams() in getParams() method in BCECPrivateKey
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECPrivateKey.java | 59 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPrivateKey() 71 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); in wrapPlatformKey() 87 params = ((ECKey) privateKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly() 89 params = ((ECKey) publicKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly() 107 params = ((ECKey) privateKey).getParams(); in wrapJCAPrivateKeyForTLSStackOnly() 134 .getParams()); in getInstance() 168 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPrivateKey 206 final ECParameterSpec spec = getParams(); in equals() 207 final ECParameterSpec otherSpec = other.getParams(); in equals()
|
D | OpenSSLECPublicKey.java | 55 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); in OpenSSLECPublicKey() 68 .getInstance(ecPublicKey.getParams()); in getInstance() 94 public ECParameterSpec getParams() { in getParams() method in OpenSSLECPublicKey 135 final ECParameterSpec spec = getParams(); in equals() 136 final ECParameterSpec otherSpec = other.getParams(); in equals()
|
D | OpenSSLECKeyFactory.java | 93 T result = (T) new ECPublicKeySpec(ecKey.getW(), ecKey.getParams()); in engineGetKeySpec() 102 T result = (T) new ECPublicKeySpec(ecKey.getW(), ecKey.getParams()); in engineGetKeySpec() 108 T result = (T) new ECPrivateKeySpec(ecKey.getS(), ecKey.getParams()); in engineGetKeySpec() 118 T result = (T) new ECPrivateKeySpec(ecKey.getS(), ecKey.getParams()); in engineGetKeySpec() 159 ECParameterSpec params = ecKey.getParams(); in engineTranslateKey() 171 ECParameterSpec params = ecKey.getParams(); in engineTranslateKey()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestFmwk.java | 83 if (getParams().testSecurityManager != null) { in testInitialize() 84 System.setSecurityManager(getParams().testSecurityManager); in testInitialize() 90 if (getParams().testSecurityManager != null) { in testTeardown() 91 System.setSecurityManager(getParams().originalSecurityManager); in testTeardown() 95 private static TestParams getParams() { in getParams() method in TestFmwk 101 return getParams().getLoggingLevel() >= LOGGING_INFO; in isVerbose() 108 return getParams().inclusion; in getExhaustiveness() 112 return getParams().getInclusion() == 0; in isQuick() 118 return new Random(getParams().getSeed()); in createRandom() 160 if (getParams().knownIssues == null) { in logKnownIssue() [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestFmwk.java | 82 if (getParams().testSecurityManager != null) { in testInitialize() 83 System.setSecurityManager(getParams().testSecurityManager); in testInitialize() 89 if (getParams().testSecurityManager != null) { in testTeardown() 90 System.setSecurityManager(getParams().originalSecurityManager); in testTeardown() 94 private static TestParams getParams() { in getParams() method in TestFmwk 100 return getParams().getLoggingLevel() >= LOGGING_INFO; in isVerbose() 107 return getParams().inclusion; in getExhaustiveness() 111 return getParams().getInclusion() == 0; in isQuick() 117 return new Random(getParams().getSeed()); in createRandom() 159 if (getParams().knownIssues == null) { in logKnownIssue() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HttpService.java | 122 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/ |
D | DefaultHttpRoutePlanner.java | 95 ConnRouteParams.getForcedRoute(request.getParams()); in determineRoute() 108 ConnRouteParams.getLocalAddress(request.getParams()); in determineRoute() 110 ConnRouteParams.getDefaultProxy(request.getParams()); in determineRoute()
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
D | ChainStrengthAnalyzer.java | 84 ((ECPublicKey) pubkey).getParams().getCurve().getField().getFieldSize(); in checkKeyLength() 90 int pLength = ((DSAPublicKey) pubkey).getParams().getP().bitLength(); in checkKeyLength() 91 int qLength = ((DSAPublicKey) pubkey).getParams().getQ().bitLength(); in checkKeyLength()
|