Home
last modified time | relevance | path

Searched refs:getQ (Results 1 – 25 of 56) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHParameters.java116 public BigInteger getQ() in getQ() method in DHParameters
166 if (this.getQ() != null) in equals()
168 if (!this.getQ().equals(pm.getQ())) in equals()
175 if (pm.getQ() != null) in equals()
186 return getP().hashCode() ^ getG().hashCode() ^ (getQ() != null ? getQ().hashCode() : 0); in hashCode()
DDSAParameters.java42 public BigInteger getQ() in getQ() method in DSAParameters
67 return (pm.getP().equals(p) && pm.getQ().equals(q) && pm.getG().equals(g)); in equals()
72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode(); in hashCode()
DECPublicKeyParameters.java18 public ECPoint getQ() in getQ() method in ECPublicKeyParameters
DRSAPrivateCrtKeyParameters.java48 public BigInteger getQ() in getQ() method in RSAPrivateCrtKeyParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJDKDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPrivateKey()
68 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in JDKDSAPrivateKey()
96 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()))… in getEncoded()
129 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
135 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
173 out.writeObject(dsaSpec.getQ()); in writeObject()
DJDKDSAPublicKey.java34 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in JDKDSAPublicKey()
48 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in JDKDSAPublicKey()
80 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in JDKDSAPublicKey()
108 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()))… in getEncoded()
140 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
156 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
173 out.writeObject(dsaSpec.getQ()); in writeObject()
DJCEECPublicKey.java88 this.q = spec.getQ(); in JCEECPublicKey()
117 this.q = params.getQ(); in JCEECPublicKey()
139 this.q = params.getQ(); in JCEECPublicKey()
163 this.q = params.getQ(); in JCEECPublicKey()
409 …new X9ECPoint(curve.createPoint(this.getQ().getAffineXCoord().toBigInteger(), this.getQ().getAffin… in getEncoded()
453 public org.bouncycastle.math.ec.ECPoint getQ() in getQ() method in JCEECPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DBCDSAPrivateKey.java50 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPrivateKey()
61 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPrivateKey()
68 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in BCDSAPrivateKey()
94 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).… in getEncoded()
120 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
126 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
164 out.writeObject(dsaSpec.getQ()); in writeObject()
DBCDSAPublicKey.java34 this.dsaSpec = new DSAParameterSpec(spec.getP(), spec.getQ(), spec.getG()); in BCDSAPublicKey()
48 …ew DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParame… in BCDSAPublicKey()
80 this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG()); in BCDSAPublicKey()
106 …fier(X9ObjectIdentifiers.id_dsa, new DSAParameter(dsaSpec.getP(), dsaSpec.getQ(), dsaSpec.getG()).… in getEncoded()
133 ^ this.getParams().getP().hashCode() ^ this.getParams().getQ().hashCode(); in hashCode()
149 && this.getParams().getQ().equals(other.getParams().getQ()); in equals()
168 out.writeObject(dsaSpec.getQ()); in writeObject()
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()
DAlgorithmParametersSpi.java45 … DSAParameter dsaP = new DSAParameter(currentSpec.getP(), currentSpec.getQ(), currentSpec.getG()); in engineGetEncoded()
100 currentSpec = new DSAParameterSpec(dsaP.getP(), dsaP.getQ(), dsaP.getG()); in engineInit()
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/ec/
DBCECPublicKey.java80 this.q = spec.getQ(); in BCECPublicKey()
88 …5Util.convertCurve(ellipticCurve).createPoint(spec.getQ().getAffineXCoord().toBigInteger(), spec.g… in BCECPublicKey()
114 this.q = params.getQ(); in BCECPublicKey()
153 …onvertCurve(ecSpec.getCurve()).createPoint(params.getQ().getAffineXCoord().toBigInteger(), params. in BCECPublicKey()
167 this.q = params.getQ(); in BCECPublicKey()
324 …new X9ECPoint(curve.createPoint(this.getQ().getXCoord().toBigInteger(), this.getQ().getYCoord().to… in getEncoded()
329 …new X9ECPoint(curve.createPoint(this.getQ().getAffineXCoord().toBigInteger(), this.getQ().getAffin… in getEncoded()
373 public org.bouncycastle.math.ec.ECPoint getQ() in getQ() method in BCECPublicKey
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DEncodedKeySpec2Test.java69 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); in isEqual()
78 && dsa1.getParams().getQ().equals(dsa2.getParams().getQ()); in isEqual()
DDSAParameterSpecTest.java89 assertEquals(2, dps.getQ().intValue()); in testGetQ()
DDSAPrivateKeySpecTest.java93 assertEquals(3, dpks.getQ().intValue()); in testGetQ()
DDSAPublicKeySpecTest.java93 assertEquals(3, dpks.getQ().intValue()); in testGetQ()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator4Test.java119 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpec()
137 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java83 BigInteger q = params.getQ(); in generateSignature()
118 BigInteger q = params.getQ(); in verifySignature()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DQRDecomposition.java53 RealMatrix getQ(); in getQ() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
DECPublicKey.java16 public ECPoint getQ(); in getQ() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
DECPublicKeySpec.java38 public ECPoint getQ() in getQ() method in ECPublicKeySpec
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
DECDHBasicAgreement.java45 ECPoint P = pub.getQ().multiply(key.getD()).normalize(); in calculateAgreement()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java107 BigInteger q = dhParams.getQ().getValue(); in createKey()
160 parameters = new DSAParameters(params.getP(), params.getQ(), params.getG()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP192K1Curve.java50 public BigInteger getQ() in getQ() method in SecP192K1Curve

123