Home
last modified time | relevance | path

Searched refs:getP (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/spec/
DEncodedKeySpec2Test.java69 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
78 && dsa1.getParams().getP().equals(dsa2.getParams().getP()) in isEqual()
DDSAParameterSpecTest.java70 assertEquals(1, dps.getP().intValue()); in testGetP()
DDSAPrivateKeySpecTest.java73 assertEquals(2, dpks.getP().intValue()); in testGetP()
DDSAPublicKeySpecTest.java73 assertEquals(2, dpks.getP().intValue()); in testGetP()
DECFieldFpTest.java148 assertTrue(p.equals(new ECFieldFp(p).getP())); in testGetP()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyTest.java52 assertEquals("P differ", expected.getP(), actual.getP()); in assertDSAParamsEquals()
DDSAParamsTest.java45 assertEquals("Invalid P", p, params.getP()); in test_getP()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDHParameterSpecTest.java53 dhps.getP(), ps[i]); in testDHParameterSpec()
62 dhps.getP(), ps[i]); in testDHParameterSpec()
DDHPrivateKeySpecTest.java55 dhpks.getP(), ps[i]); in testDHPrivateKeySpec()
DDHPublicKeySpecTest.java55 dhpks.getP(), ps[i]); in testDHPrivateKeySpec()
/libcore/ojluni/src/main/java/sun/security/util/
DKeyUtil.java95 size = (params != null) ? params.getP().bitLength() : -1; in getKeySize()
98 size = pubk.getParams().getP().bitLength(); in getKeySize()
/libcore/ojluni/src/main/java/java/security/interfaces/
DDSAParams.java49 public BigInteger getP(); in getP() method
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator4Test.java117 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpec()
135 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
DKeyStore2Test.java789 assertEquals(privateKey1.getParams().getP(), entryPrivateKey.getParams().getP()); in test_getEntry()
843 assertEquals(privateKey1.getParams().getP(), actualPrivateKey.getParams().getP()); in test_setEntry()
855 assertEquals(privateKey1.getParams().getP(), actualPrivateKey.getParams().getP()); in test_setEntry()
/libcore/luni/src/test/java/libcore/java/security/
DKeyPairGeneratorTest.java288 assertEquals(dhPub.getParams().getP(), getDHParams().getP()); in test_Key()
291 assertEquals(dhPriv.getParams().getP(), getDHParams().getP()); in test_Key()
446 DSA_P, actualParams.getP()); in testDSAGeneratorWithParams()
456 DSA_P, actualParams.getP()); in testDSAGeneratorWithParams()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDHPrivateKeySpec.java81 public BigInteger getP() { in getP() method in DHPrivateKeySpec
DDHPublicKeySpec.java81 public BigInteger getP() { in getP() method in DHPublicKeySpec
DDHParameterSpec.java100 public BigInteger getP() { in getP() method in DHParameterSpec
/libcore/ojluni/src/main/java/java/security/spec/
DECFieldFp.java72 public BigInteger getP() { in getP() method in ECFieldFp
DDSAParameterSpec.java68 public BigInteger getP() { in getP() method in DSAParameterSpec
DDSAPublicKeySpec.java85 public BigInteger getP() { in getP() method in DSAPublicKeySpec
DDSAPrivateKeySpec.java85 public BigInteger getP() { in getP() method in DSAPrivateKeySpec
DEllipticCurve.java55 BigInteger p = ((ECFieldFp)field).getP(); in checkValidity()
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
DAlgorithmParametersTestDSA.java140 assertEquals("Provider: " + p.getName(), new BigInteger(1, P), derivedSpec.getP()); in testEncoding()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java73 originalKeySpec.getP(), originalKeySpec.getQ(), originalKeySpec.getG())); in getPrivateKey()

12