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

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricKeyInfoConverter.java 12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java 91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
94 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
98 return new BCDHPrivateKey(keyInfo);
102 return new BCDHPrivateKey(keyInfo);
110 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
113 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
117 return new BCDHPublicKey(keyInfo);
121 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/asn1/x509/
SubjectKeyIdentifier.java 94 * @param keyInfo the key info object containing the subjectPublicKey field.
98 public static SubjectKeyIdentifier createSHA1KeyIdentifier(SubjectPublicKeyInfo keyInfo)
100 return new SubjectKeyIdentifier(keyInfo);
110 * @param keyInfo the key info object containing the subjectPublicKey field.
114 public static SubjectKeyIdentifier createTruncatedSHA1KeyIdentifier(SubjectPublicKeyInfo keyInfo)
116 byte[] dig = getDigest(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 return new BCRSAPrivateCrtKey(keyInfo);
148 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
151 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
155 return new BCRSAPublicKey(keyInfo);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 81 * @param keyInfo the SubjectPublicKeyInfo containing the key data
85 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException
87 AlgorithmIdentifier algId = keyInfo.getAlgorithm();
92 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey());
98 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey());
131 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
143 // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
152 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
179 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes());
PrivateKeyFactory.java 74 * @param keyInfo the PrivateKeyInfo object containing the key material
78 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException
80 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm();
84 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey());
96 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
108 // ASN1Integer = (ASN1Integer)keyInfo.parsePrivateKey();
116 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
143 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyFactorySpi.java 156 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo)
159 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm();
163 return new BCECPrivateKey(algorithm, keyInfo, configuration);
171 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo)
174 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm();
178 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/ex/variablespeed/jni/
variablespeed.cc 237 SLMetadataInfo *keyInfo, *value;
239 keyInfo = value = NULL;
242 keyInfo = static_cast<SLMetadataInfo*>(malloc(keySize));
243 if (keyInfo) {
244 OpenSL(decoderMetadata, GetKey, i, keySize, keyInfo);
245 if (keyInfo->encoding == SL_CHARACTERENCODING_ASCII
246 || keyInfo->encoding == SL_CHARACTERENCODING_UTF8) {
251 if (strcmp((char*) keyInfo->data, ANDROID_KEY_PCMFORMAT_SAMPLERATE) == 0) {
255 } else if (strcmp((char*) keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS) == 0) {
263 free(keyInfo);
    [all...]
  /frameworks/base/core/java/android/app/
SearchableInfo.java 498 private void addActionKey(ActionKeyInfo keyInfo) {
502 mActionKeys.put(keyInfo.getKeyCode(), keyInfo);
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
expr.c     [all...]
  /external/google-tv-pairing-protocol/java/jar/
bcprov-jdk15-143.jar 
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 

Completed in 437 milliseconds