HomeSort by relevance Sort by last modified time
    Searched refs:privateKey (Results 51 - 75 of 113) sorted by null

1 23 4 5

  /device/asus/grouper/keymaster/
keymaster_grouper.cpp 403 ObjectHandle privateKey(&session, hPrivateKey);
404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
606 ObjectHandle privateKey(&session, hPrivateKey);
608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
620 ObjectHandle privateKey(&session);
622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
731 ObjectHandle privateKey(&session);
733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
738 CK_RV rv = C_DestroyObject(session.get(), privateKey.get());
771 ObjectHandle privateKey(&session)
    [all...]
  /device/asus/grouper/self-extractors/nvidia/staging/keymaster/
keymaster_grouper.cpp 403 ObjectHandle privateKey(&session, hPrivateKey);
404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
606 ObjectHandle privateKey(&session, hPrivateKey);
608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
620 ObjectHandle privateKey(&session);
622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
731 ObjectHandle privateKey(&session);
733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
738 CK_RV rv = C_DestroyObject(session.get(), privateKey.get());
771 ObjectHandle privateKey(&session)
    [all...]
  /device/asus/tilapia/self-extractors/nvidia/staging/keymaster/
keymaster_grouper.cpp 403 ObjectHandle privateKey(&session, hPrivateKey);
404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
606 ObjectHandle privateKey(&session, hPrivateKey);
608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get());
620 ObjectHandle privateKey(&session);
622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
731 ObjectHandle privateKey(&session);
733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) {
738 CK_RV rv = C_DestroyObject(session.get(), privateKey.get());
771 ObjectHandle privateKey(&session)
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MySignature1.java 25 import java.security.PrivateKey;
66 protected void engineInitSign(PrivateKey privateKey)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DigestSignatureSpi.java 6 import java.security.PrivateKey;
92 PrivateKey privateKey)
95 if (!(privateKey instanceof RSAPrivateKey))
97 throw new InvalidKeyException("Supplied key (" + getType(privateKey) + ") is not a RSAPrivateKey instance");
100 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey);
  /libcore/luni/src/main/java/java/security/
Signature.java 273 * @param privateKey
276 * if {@code privateKey} is not valid.
278 public final void initSign(PrivateKey privateKey)
280 engineInitSign(privateKey);
289 * @param privateKey
294 * if {@code privateKey} is not valid.
296 public final void initSign(PrivateKey privateKey, SecureRandom random)
298 engineInitSign(privateKey, random)
    [all...]
KeyStore.java 47 * @see PrivateKey
322 * if {@code key} is a {@code PrivateKey} and {@code chain} does
333 // Certificate chain is required for PrivateKey
334 if (key != null && key instanceof PrivateKey && (chain == null || chain.length == 0)) {
359 * if {@code key} is a {@code PrivateKey} and {@code chain}
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MySignature1.java 26 import java.security.PrivateKey;
71 protected void engineInitSign(PrivateKey privateKey)
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1withDSA_SignatureTest.java 35 import java.security.PrivateKey;
84 private static PrivateKey privateKey;
88 private static PrivateKey privateKey2;
92 private static PrivateKey myRSAPrivateKey;
118 privateKey = keys.getPrivate();
160 signs[1].initSign(privateKey);
161 signs[2].initSign(privateKey, null);
162 signs[3].initSign(privateKey, mySecureRandom);
290 * The test against "initSign(PrivateKey)" method
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
TLSConnection.py 130 def handshakeClientCert(self, certChain=None, privateKey=None,
164 @type privateKey: L{tlslite.utils.RSAKey.RSAKey}
165 @param privateKey: The private key to be used if the server
203 privateKey), session=session, settings=settings,
218 privateKey) pair. If the callback returns None, the library
382 privateKey = None # certParams
391 clientCertChain, privateKey = certParams
407 if clientCertChain and not privateKey:
408 raise ValueError("Caller passed a certChain but no privateKey")
409 if privateKey and not clientCertChain
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 28 import java.security.PrivateKey;
108 // Test for method java.security.PrivateKey
124 PrivateKey privateKey = fact.generatePrivate(privateKeySpec);
127 Arrays.toString(privateKey.getEncoded()));
128 privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded()));
131 Arrays.toString(privateKey.getEncoded()));
247 PrivateKey privateKey = fact.generatePrivate(privateKeySpec);
254 Arrays.toString(privateKey.getEncoded()))
    [all...]
KeyFactoryTest.java 13 import java.security.PrivateKey;
240 PrivateKey privateKey = factory.generatePrivate(keySpec);
241 assertNotNull(privateKey);
242 assertTrue(Arrays.equals(key.getEncoded(), privateKey.getEncoded()));
432 protected PrivateKey engineGeneratePrivate(KeySpec keySpec)
524 static class TestPrivateKey implements PrivateKey {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
SignatureSpi.java 6 import java.security.PrivateKey;
57 PrivateKey privateKey)
60 CipherParameters param = ECUtil.generatePrivateKeyParameter(privateKey);
  /external/chromium_org/net/android/java/src/org/chromium/net/
AndroidNetworkLibrary.java 38 * @param privateKey The private key as DER-encoded PrivateKeyInfo (PKCS#8).
46 public static boolean storeKeyPair(Context context, byte[] publicKey, byte[] privateKey) {
53 intent.putExtra("PKEY", privateKey);
  /libcore/luni/src/test/java/tests/targets/security/
KeyStoreTest.java 31 import java.security.PrivateKey;
142 PrivateKey privateKey = entry.getPrivateKey();
143 assertEquals(keyPair.getPrivate(), privateKey);
SignatureTestMD2withRSA.java 22 import java.security.PrivateKey;
145 protected void engineInitSign(PrivateKey privateKey)
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 26 import java.security.PrivateKey;
92 // Test for method java.security.PrivateKey
111 PrivateKey privateKey = fact.generatePrivate(privateKeySpec);
113 .getEncoded(), privateKey.getEncoded());
262 PrivateKey privateKey = fact.generatePrivate(privateKeySpec);
267 .getEncoded(), privateKey.getEncoded());
  /external/chromium_org/third_party/WebKit/public/platform/
WebCrypto.h 71 BLINK_EXPORT void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey);
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyManagerFactoryTest.java 23 import java.security.PrivateKey;
231 PrivateKey privateKey = km.getPrivateKey(alias);
236 keyAlgName = privateKey.getAlgorithm();
244 assertEquals(keyType, keyAlgName, privateKey.getAlgorithm());
260 privateKeyEntry.getPrivateKey(), privateKey);
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 36 import java.security.PrivateKey;
204 final PrivateKey privateKey = getPrivateKey(alias);
216 privateKeyTv.setText(privateKey.getFormat() + ":" + privateKey);
273 private PrivateKey getPrivateKey(String alias) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
ECUtil.java 4 import java.security.PrivateKey;
167 PrivateKey key)
204 PrivateKey privateKey = BouncyCastleProvider.getPrivateKey(PrivateKeyInfo.getInstance(bytes));
206 if (privateKey instanceof java.security.interfaces.ECPrivateKey)
208 return ECUtil.generatePrivateKeyParameter(privateKey);
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 34 import java.security.PrivateKey;
274 @Override public PrivateKey getPrivateKey(String alias) {
277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this,
279 log("privateKey=" + privateKey);
280 return privateKey;
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/
X509CRLImplTest.java 28 import java.security.PrivateKey;
176 private static PrivateKey privateKey;
184 privateKey = keyPair.getPrivate();
209 sig.initSign(privateKey);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java 21 import java.security.PrivateKey;
49 private PrivateKey mPrivateKey;
82 PrivateKey key = null;
171 int requestPtr, byte[][] certChain, PrivateKey privateKey);
  /frameworks/base/wifi/java/android/net/wifi/
WifiEnterpriseConfig.java 31 import java.security.PrivateKey;
95 private PrivateKey mClientPrivateKey;
174 PrivateKey userKey = null;
480 * @param privateKey
484 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) {
489 if (privateKey == null) {
492 if (privateKey.getEncoded() == null) {
497 mClientPrivateKey = privateKey;
516 static boolean isHardwareBackedKey(PrivateKey key)
    [all...]

Completed in 1036 milliseconds

1 23 4 5