/libcore/ojluni/src/main/java/java/security/ |
D | Identity.java | 80 private PublicKey publicKey; field in Identity 163 return publicKey; in getPublicKey() 190 this.publicKey = key; in setPublicKey() 256 if (publicKey != null) { in addCertificate() 257 if (!keyEquals(publicKey, certificate.getPublicKey())) { in addCertificate() 262 publicKey = certificate.getPublicKey(); in addCertificate() 375 if ((publicKey == null) ^ (identity.publicKey == null)) in identityEquals() 378 if (publicKey != null && identity.publicKey != null) in identityEquals() 379 if (!publicKey.equals(identity.publicKey)) in identityEquals() 462 if (publicKey != null) { in printKeys()
|
D | KeyPair.java | 47 private PublicKey publicKey; field in KeyPair 60 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { in KeyPair() argument 61 this.publicKey = publicKey; in KeyPair() 71 return publicKey; in getPublic()
|
D | Signature.java | 603 public final void initVerify(PublicKey publicKey) in initVerify() argument 605 engineInitVerify(publicKey); in initVerify() 657 PublicKey publicKey = certificate.getPublicKey(); in initVerify() local 658 engineInitVerify(publicKey); in initVerify() 1371 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument 1375 if (sigSpi != null && (lock == null || publicKey == null)) { in engineInitVerify() 1376 sigSpi.engineInitVerify(publicKey); in engineInitVerify() 1378 chooseProvider(I_PUB, publicKey, null); in engineInitVerify() 1491 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument 1493 cipher.init(Cipher.DECRYPT_MODE, publicKey); in engineInitVerify()
|
D | Signer.java | 159 PublicKey publicKey = getPublicKey(); in printKeys() local 160 if (publicKey != null && privateKey != null) { in printKeys()
|
D | SignatureSpi.java | 70 protected abstract void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | SignatureBenchmark.java | 64 private PublicKey publicKey; field in SignatureBenchmark 79 this.publicKey = keyPair.getPublic(); in setUp() 123 verifier.initVerify(publicKey); in timeVerify()
|
/libcore/tools/go/certutil/ |
D | certutil.go | 80 func (e *Entity) publicKey() *ecdsa.PublicKey { func 112 return ca.doSign(child.Template, child.publicKey()) 118 return ca.doSign(©Template, child.publicKey())
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 50 public byte[] getSecretKey(String alg, byte[] publicKey) throws Exception { in getSecretKey() argument 51 X509EncodedKeySpec x509KeySpec = new X509EncodedKeySpec(publicKey); in getSecretKey()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureSpiTest.java | 107 protected void engineInitVerify(PublicKey publicKey) in testEngineGetParameters() 159 public void engineInitVerify(PublicKey publicKey) { in engineInitVerify() argument 193 public void engineInitVerify(PublicKey publicKey) { in engineInitVerify() argument 237 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument
|
D | SignerTest.java | 133 PublicKeyStub publicKey = new PublicKeyStub("public", "fff", null); in testGetPrivateKey() local 134 KeyPair kp = new KeyPair(publicKey, privateKey); in testGetPrivateKey()
|
D | KeyFactory2Test.java | 153 PublicKey publicKey = fact.generatePublic(publicKeySpec); in test_generatePublicLjava_security_spec_KeySpec() local 159 Arrays.toString(publicKey.getEncoded())); in test_generatePublicLjava_security_spec_KeySpec() 248 PublicKey publicKey = fact.generatePublic(publicKeySpec); in test_getKeySpecLjava_security_KeyLjava_lang_Class() local 260 Arrays.toString(publicKey.getEncoded())); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
|
D | KeyFactoryTest.java | 195 PublicKey publicKey = factory.generatePublic(keySpec); in testGeneratePublic() local 196 assertNotNull(publicKey); in testGeneratePublic() 197 assertTrue(Arrays.equals(key.encoded, publicKey.getEncoded())); in testGeneratePublic()
|
D | SignatureTest.java | 601 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument 661 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardBuilder.java | 850 PublicKey publicKey = anchor.getCAPublicKey(); in isPathCompleted() local 852 if (principal != null && publicKey != null && in isPathCompleted() 854 if (publicKey.equals(cert.getPublicKey())) { in isPathCompleted() 866 PublicKey publicKey = anchor.getCAPublicKey(); in isPathCompleted() local 874 if (PKIX.isDSAPublicKeyWithoutParams(publicKey)) { in isPathCompleted() 884 cert.verify(publicKey, buildParams.sigProvider()); in isPathCompleted() 886 cert.verify(publicKey); in isPathCompleted()
|
D | PKIX.java | 46 static boolean isDSAPublicKeyWithoutParams(PublicKey publicKey) { in isDSAPublicKeyWithoutParams() argument 47 return (publicKey instanceof DSAPublicKey && in isDSAPublicKeyWithoutParams() 48 ((DSAPublicKey)publicKey).getParams() == null); in isDSAPublicKeyWithoutParams()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStorePkcs7FormatTest.java | 142 RSAPublicKey publicKey = (RSAPublicKey) certificate.getPublicKey(); in keystoreIsReadableAndConsistent() local 150 cipher.init(Cipher.DECRYPT_MODE, publicKey); in keystoreIsReadableAndConsistent()
|
D | SignatureTestMD2withRSA.java | 147 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 560 final PublicKey publicKey; in createKeys() local 565 publicKey = null; in createKeys() 602 publicKey = kp.getPublic(); in createKeys() 606 publicKey = privateEntry.getCertificate().getPublicKey(); in createKeys() 614 x509c = createCertificate(publicKey, signingKey, subject, issuer, keyUsage, ca, in createKeys() 648 public static X509Certificate createCa(PublicKey publicKey, in createCa() argument 653 return createCertificate(publicKey, privateKey, in createCa() 668 PublicKey publicKey, in createCertificate() argument 716 SubjectPublicKeyInfo.getInstance(publicKey.getEncoded())); in createCertificate()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | FakeOidProvider.java | 38 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() argument
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MockSignatureSpi.java | 59 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() argument
|
D | SignatureTest.java | 232 protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() argument 495 public void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { in engineInitVerify() argument
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | Signature.java | 78 public final void initVerify(java.security.PublicKey publicKey) in initVerify() argument 206 protected void engineInitVerify(java.security.PublicKey publicKey) in engineInitVerify() argument 299 protected void engineInitVerify(java.security.PublicKey publicKey) in engineInitVerify() argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MySignature1.java | 66 protected void engineInitVerify(PublicKey publicKey) in engineInitVerify() argument
|
/libcore/luni/src/test/java/tests/com/android/org/bouncycastle/jce/provider/ |
D | CertBlocklistTest.java | 176 private static String getHash(PublicKey publicKey) throws Exception { in getHash() argument 177 byte[] encoded = publicKey.getEncoded(); in getHash()
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Signature.annotated.java | 49 public final void initVerify(java.security.PublicKey publicKey) throws java.security.InvalidKeyExce… in initVerify() argument
|