HomeSort by relevance Sort by last modified time
    Searched refs:keyInfo (Results 1 - 25 of 36) sorted by null

1 2

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricKeyInfoConverter.java 12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorTest.java 21 import android.security.keystore.KeyInfo;
329 KeyInfo keyInfo = TestUtils.getKeyInfo(keyPair.getPrivate());
330 assertEquals(purposes, keyInfo.getPurposes());
332 Arrays.asList(keyInfo.getBlockModes()), blockModes);
335 new ArrayList<String>(Arrays.asList(keyInfo.getEncryptionPaddings()));
342 new ArrayList<String>(Arrays.asList(keyInfo.getDigests()));
347 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings()));
348 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart());
350 keyInfo.getKeyValidityForOriginationEnd())
    [all...]
SecretKeyFactoryTest.java 20 import android.security.keystore.KeyInfo;
123 KeyInfo keyInfo = (KeyInfo) keyFactory.getKeySpec(key, KeyInfo.class);
124 assertEquals("test1", keyInfo.getKeystoreAlias());
125 assertEquals(purposes, keyInfo.getPurposes());
127 Arrays.asList(blockModes), keyInfo.getBlockModes());
129 Arrays.asList(encryptionPaddings), keyInfo.getEncryptionPaddings());
130 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests())
    [all...]
KeyFactoryTest.java 20 import android.security.keystore.KeyInfo;
121 KeyInfo keyInfo = keyFactory.getKeySpec(keyPair.getPrivate(), KeyInfo.class);
122 assertEquals("test1", keyInfo.getKeystoreAlias());
123 assertEquals(purposes, keyInfo.getPurposes());
125 Arrays.asList(keyInfo.getBlockModes()), blockModes);
128 new ArrayList<String>(Arrays.asList(keyInfo.getEncryptionPaddings()));
135 new ArrayList<String>(Arrays.asList(keyInfo.getDigests()));
140 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings()))
    [all...]
KeyGeneratorTest.java 20 import android.security.keystore.KeyInfo;
504 KeyInfo keyInfo = TestUtils.getKeyInfo(key);
505 assertEquals(purposes, keyInfo.getPurposes());
507 Arrays.asList(blockModes), keyInfo.getBlockModes());
509 Arrays.asList(encryptionPaddings), keyInfo.getEncryptionPaddings());
510 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests());
511 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getSignaturePaddings()));
512 assertEquals(keyValidityStart, keyInfo.getKeyValidityStart());
514 keyInfo.getKeyValidityForOriginationEnd())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java 99 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
102 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
106 return new BCDHPrivateKey(keyInfo);
110 return new BCDHPrivateKey(keyInfo);
118 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
121 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
125 return new BCDHPublicKey(keyInfo);
129 return new BCDHPublicKey(keyInfo);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyFactorySpi.java 64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
67 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
71 return new BCDSAPrivateKey(keyInfo);
79 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
82 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
86 return new BCDSAPublicKey(keyInfo);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
136 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey());
148 return new BCRSAPrivateCrtKey(keyInfo);
157 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
160 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
164 return new BCRSAPublicKey(keyInfo);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 80 * @param keyInfo the SubjectPublicKeyInfo containing the key data
84 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException
86 AlgorithmIdentifier algId = keyInfo.getAlgorithm();
91 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey());
97 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey());
130 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
143 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
153 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
191 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes());
PrivateKeyFactory.java 73 * @param keyInfo the PrivateKeyInfo object containing the key material
77 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException
79 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm();
83 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey());
95 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
108 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
117 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
155 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey());
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CarrierKeyDownloadMgrTest.java 163 Pair<PublicKey, Long> keyInfo = null;
165 keyInfo = mCarrierKeyDM.getKeyInformation(reader.readPemObject().getContent());
170 "key1=value", keyInfo.first, new Date(keyInfo.second));
187 Pair<PublicKey, Long> keyInfo = null;
189 keyInfo = mCarrierKeyDM.getKeyInformation(reader.readPemObject().getContent());
194 "key1=value", keyInfo.first, new Date(keyInfo.second));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyFactorySpi.java 163 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
166 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
170 return new BCECPrivateKey(algorithm, keyInfo, configuration);
178 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
181 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
185 return new BCECPublicKey(algorithm, keyInfo, configuration);
  /frameworks/wilhelm/tests/examples/
slesTestDecodeToBuffQueue.cpp 466 SLMetadataInfo *keyInfo, *value;
468 keyInfo = NULL; keySize = 0;
474 keyInfo = (SLMetadataInfo*) malloc(keySize);
475 if (NULL != keyInfo) {
476 result = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo);
479 i, keyInfo->size, keyInfo->data, valueSize);
481 if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS)) {
483 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_SAMPLERATE)) {
486 free(keyInfo);
    [all...]
slesTestDecodeAac.cpp 680 SLMetadataInfo *keyInfo, *value;
682 keyInfo = NULL; keySize = 0;
688 keyInfo = (SLMetadataInfo*) malloc(keySize);
689 if (NULL != keyInfo) {
690 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo);
693 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding,
694 keyInfo->langCountry);
696 if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS))
    [all...]
  /frameworks/base/core/java/android/app/
SearchableInfo.java 500 private void addActionKey(ActionKeyInfo keyInfo) {
504 mActionKeys.put(keyInfo.getKeyCode(), keyInfo);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierKeyDownloadManager.java 452 Pair<PublicKey, Long> keyInfo =
455 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
KeyTypeData.java 220 getKeyInfo(keyTypeDataRes.get("keyInfo"));
409 keyInfo{
429 KeyInfoType keyInfo = KeyInfoType.valueOf(key);
434 switch (keyInfo) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
KeyTypeData.java 218 getKeyInfo(keyTypeDataRes.get("keyInfo"));
407 keyInfo{
427 KeyInfoType keyInfo = KeyInfoType.valueOf(key);
432 switch (keyInfo) {
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.56/
bcprov-jdk15on-1.56.jar 
  /external/google-tv-pairing-protocol/java/jar/
bcprov-jdk15-143.jar 
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 

Completed in 1034 milliseconds

1 2