/external/chromium_org/chrome/browser/chromeos/ownership/ |
owner_settings_service_chromeos.cc | 40 using ownership::PublicKey; 62 scoped_refptr<PublicKey> public_key, 64 const base::Callback<void(const scoped_refptr<PublicKey>& public_key, 80 const base::Callback<void(const scoped_refptr<PublicKey>& public_key, 84 scoped_refptr<PublicKey> public_key; 92 public_key = new PublicKey(); 269 void(const scoped_refptr<PublicKey>& public_key,
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
session_manager_operation.cc | 24 using ownership::PublicKey; 42 scoped_refptr<PublicKey> public_key) { 97 scoped_refptr<PublicKey> SessionManagerOperation::LoadPublicKey( 99 scoped_refptr<PublicKey> current_key) { 100 scoped_refptr<PublicKey> public_key(new PublicKey()); 115 scoped_refptr<PublicKey> new_key) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
TrustAnchorTest.java | 26 import java.security.PublicKey; 54 * Test #1 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 64 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 77 * Test #2 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 87 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 93 * Test #3 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 103 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 117 * Test #4 for <code>TrustAnchor(String, PublicKey, byte[])</code> constructor<br> 126 PublicKey pk = new TestKeyPair(keyAlg).getPublic(); 165 * Test #1 for <code>TrustAnchor(X500Principal, PublicKey, byte[])</code> constructor<br [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
KeySetManagerService.java | 28 import java.security.PublicKey; 56 private final LongSparseArray<PublicKey> mPublicKeys; 68 mPublicKeys = new LongSparseArray<PublicKey>(); 128 ArraySet<PublicKey> keys, String alias) { 165 ArraySet<PublicKey> signingKeys) { 236 * Fetches the {@link PublicKey public keys} which belong to the specified 242 public ArraySet<PublicKey> getPublicKeysFromKeySetLPr(long id) { 246 ArraySet<PublicKey> mPubKeys = new ArraySet<PublicKey>(); 298 * If the {@link PublicKey PublicKeys} aren't known to the system, thi [all...] |
/build/tools/signapk/ |
SignApk.java | 429 CMSTypedData data, X509Certificate publicKey, PrivateKey privateKey, 436 certList.add(publicKey); 440 ContentSigner signer = new JcaContentSignerBuilder(getSignatureAlgorithm(publicKey)) 449 .build(signer, publicKey)); 606 private X509Certificate publicKey; 614 X509Certificate publicKey, PrivateKey privateKey, 618 this.publicKey = publicKey; 637 int hash = getDigestAlgorithm(publicKey); 640 long timestamp = publicKey.getNotBefore().getTime() + 3600L * 1000 [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 30 import java.security.PublicKey; 136 // Test for method java.security.PublicKey 153 PublicKey publicKey = fact.generatePublic(publicKeySpec); 159 Arrays.toString(publicKey.getEncoded())); 248 PublicKey publicKey = fact.generatePublic(publicKeySpec); 260 Arrays.toString(publicKey.getEncoded())); 355 public PublicKey engineGeneratePublic(KeySpec keySpec) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 24 import java.security.PublicKey; 32 static PublicKey pubKey; 45 public IdentityScopeSubclass(String name, PublicKey pk) { 84 public Identity getIdentity(PublicKey pk) { 205 * @tests java.security.IdentityScope#getIdentity(java.security.PublicKey)
|
KeyFactory2Test.java | 28 import java.security.PublicKey; 133 // Test for method java.security.PublicKey 151 PublicKey publicKey = fact.generatePublic(publicKeySpec); 153 .getEncoded(), publicKey.getEncoded()); 263 PublicKey publicKey = fact.generatePublic(publicKeySpec); 265 .getEncoded(), publicKey.getEncoded());
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
SignatureTest.java | 60 * Class under test for void initVerify(PublicKey) 287 private class MyPublicKey extends MyKey implements PublicKey { 298 public PublicKey getPublicKey() { 306 public void verify(PublicKey key) { 309 public void verify(PublicKey key, String sigProvider) {
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLDHKeyFactory.java | 24 import java.security.PublicKey; 39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { 88 } else if (key instanceof PublicKey && DHPublicKeySpec.class.isAssignableFrom(keySpec)) { 119 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { 179 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) {
|
OpenSSLDSAKeyFactory.java | 24 import java.security.PublicKey; 38 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { 88 } else if (key instanceof PublicKey && DSAPublicKeySpec.class.isAssignableFrom(keySpec)) { 124 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { 186 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) {
|
OpenSSLECKeyFactory.java | 24 import java.security.PublicKey; 39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { 87 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { 116 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { 172 } else if ((key instanceof PublicKey) && ("X.509".equals(key.getFormat()))) {
|
OpenSSLECDHKeyAgreement.java | 24 import java.security.PublicKey; 61 if (!(key instanceof PublicKey)) { 64 OpenSSLKey openSslPublicKey = OpenSSLKey.fromPublicKey((PublicKey) key);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
KeyFactorySpi.java | 7 import java.security.PublicKey; 121 protected PublicKey engineGeneratePublic( 148 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
|
DigestSignatureSpi.java | 7 import java.security.PublicKey; 77 PublicKey publicKey) 80 if (!(publicKey instanceof RSAPublicKey)) 82 throw new InvalidKeyException("Supplied key (" + getType(publicKey) + ") is not a RSAPublicKey instance"); 85 CipherParameters param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)publicKey);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/ |
AuthorityKeyIdentifierStructure.java | 5 import java.security.PublicKey; 109 PublicKey pubKey) 147 PublicKey pubKey)
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
SessionConnector.java | 53 JniInterface.connectToHost(accountName, authToken, host.jabberId, host.id, host.publicKey, 58 return host.jabberId.isEmpty() || host.publicKey.isEmpty(); 102 foundHost.id, foundHost.publicKey, mConnectionCallback);
|
/libcore/luni/src/test/java/tests/targets/security/ |
SignatureTestMD2withRSA.java | 24 import java.security.PublicKey; 150 protected void engineInitVerify(PublicKey publicKey)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
ECUtil.java | 5 import java.security.PublicKey; 107 PublicKey key) 150 PublicKey publicKey = BouncyCastleProvider.getPublicKey(SubjectPublicKeyInfo.getInstance(bytes)); 152 if (publicKey instanceof java.security.interfaces.ECPublicKey) 154 return ECUtil.generatePublicKeyParameter(publicKey);
|
/libcore/luni/src/main/java/java/security/cert/ |
Certificate.java | 28 import java.security.PublicKey; 126 * PublicKey public key for which verification should be 139 public abstract void verify(PublicKey key) 151 * PublicKey public key for which verification should be 166 public abstract void verify(PublicKey key, String sigProvider) 186 public abstract PublicKey getPublicKey();
|
/system/extras/verity/ |
Utils.java | 30 import java.security.PublicKey; 183 static PublicKey loadDERPublicKey(byte[] der) throws Exception { 189 static PublicKey loadPEMPublicKey(byte[] pem) throws Exception { 196 static PublicKey loadPEMPublicKeyFromFile(String keyFname) throws Exception { 200 static PublicKey loadDERPublicKeyFromFile(String keyFname) throws Exception { 229 static boolean verify(PublicKey key, byte[] input, byte[] signature,
|
/device/asus/grouper/keymaster/ |
keymaster_grouper.cpp | 402 ObjectHandle publicKey(&session, hPublicKey); 404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 488 ObjectHandle publicKey(&session, hPublicKey); 608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 619 ObjectHandle publicKey(&session); 622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { 637 CK_RV rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 650 rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 730 ObjectHandle publicKey(&session); 733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) [all...] |
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/ |
keymaster_grouper.cpp | 402 ObjectHandle publicKey(&session, hPublicKey); 404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 488 ObjectHandle publicKey(&session, hPublicKey); 608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 619 ObjectHandle publicKey(&session); 622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { 637 CK_RV rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 650 rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 730 ObjectHandle publicKey(&session); 733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) [all...] |
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/ |
keymaster_grouper.cpp | 402 ObjectHandle publicKey(&session, hPublicKey); 404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 488 ObjectHandle publicKey(&session, hPublicKey); 608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); 619 ObjectHandle publicKey(&session); 622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { 637 CK_RV rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 650 rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, 730 ObjectHandle publicKey(&session); 733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 29 import java.security.PublicKey; 92 public class PubKey implements PublicKey {
|