/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/ |
CipherFactory.java | 214 byte[] wrappedKey = data.key.getEncoded(); 215 if (wrappedKey != null && data.iv != null) { 216 outState.putByteArray(BUNDLE_KEY, wrappedKey); 235 byte[] wrappedKey = savedInstanceState.getByteArray(BUNDLE_KEY); 237 if (wrappedKey == null || iv == null) return false; 240 Key bundledKey = new SecretKeySpec(wrappedKey, "AES");
|
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
MediaDrmSigner.java | 129 * @param wrappedKey - the wrapped (encrypted) RSA private key obtained 134 String algorithm, byte[] wrappedKey, byte[] message) { 135 return drm.signRSA(sessionId, algorithm, wrappedKey, message);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 129 byte[] wrappedKey, 139 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 143 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 307 byte[] wrappedKey, 317 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 321 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
SubtleCrypto.idl | 68 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBuffer wrappedKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages); 69 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBufferView wrappedKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages);
|
SubtleCrypto.cpp | 364 ScriptPromise SubtleCrypto::unwrapKey(ScriptState* scriptState, const String& rawFormat, const ArrayPiece& wrappedKey, Key* unwrappingKey, const Dictionary& rawUnwrapAlgorithm, const Dictionary& rawUnwrappedKeyAlgorithm, bool extractable, const Vector<String>& rawKeyUsages) 372 if (!ensureNotNull(wrappedKey, "wrappedKey", result.get())) 396 blink::Platform::current()->crypto()->unwrapKey(format, wrappedKey.bytes(), wrappedKey.byteLength(), unwrappingKey->key(), unwrapAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages, result->result());
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
DrmPlugin.h | 100 Vector<uint8_t>& wrappedKey) { 103 UNUSED(wrappedKey); 216 const Vector<uint8_t>& wrappedKey, 221 UNUSED(wrappedKey);
|
/frameworks/av/include/media/ |
IDrm.h | 71 Vector<uint8_t> &wrappedKey) = 0; 119 Vector<uint8_t> const &wrappedKey,
|
/frameworks/av/media/libmediaplayerservice/ |
Drm.h | 76 Vector<uint8_t> &wrappedKey); 123 Vector<uint8_t> const &wrappedKey,
|
Drm.cpp | 406 Vector<uint8_t> &wrappedKey) { 417 return mPlugin->provideProvisionResponse(response, certificate, wrappedKey); 628 Vector<uint8_t> const &wrappedKey, 644 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature);
|
/frameworks/av/media/libmedia/ |
IDrm.cpp | 220 Vector<uint8_t> &wrappedKey) { 228 readVector(reply, wrappedKey); 412 Vector<uint8_t> const &wrappedKey, 420 writeVector(data, wrappedKey); 623 Vector<uint8_t> wrappedKey; 625 status_t result = provideProvisionResponse(response, certificate, wrappedKey); 627 writeVector(reply, wrappedKey); 787 Vector<uint8_t> sessionId, message, wrappedKey, signature; 791 readVector(data, wrappedKey); 792 uint32_t result = signRSA(sessionId, algorithm, message, wrappedKey, signature) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEStreamCipher.java | 417 byte[] wrappedKey, 425 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLCipherRSA.java | 322 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, 325 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
|
OpenSSLCipher.java | 506 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) 509 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
|
/frameworks/base/media/java/android/media/ |
MediaDrm.java | [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebCrypto.h | 221 virtual void unwrapKey(WebCryptoKeyFormat, const unsigned char* wrappedKey, unsigned wrappedKeySize, const WebCryptoKey&, const WebCryptoAlgorithm& unwrapAlgorithm, const WebCryptoAlgorithm& unwrappedKeyAlgorithm, bool extractable, WebCryptoKeyUsageMask, WebCryptoResult result) { result.completeWithError(WebCryptoErrorTypeNotSupported, ""); }
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.h | 86 Vector<uint8_t> &wrappedKey); 134 Vector<uint8_t> const &wrappedKey,
|
MockDrmCryptoPlugin.cpp | 289 Vector<uint8_t> &wrappedKey) 616 Vector<uint8_t> const &wrappedKey, 625 vectorToString(wrappedKey).string(), 629 // byte[] wrappedKey -> mock-wrappedkey 635 mByteArrayProperties.add(String8("mock-wrappedkey"), wrappedKey);
|
/external/chromium_org/net/third_party/nss/ssl/ |
sslsnce.c | [all...] |
ssl3con.c | [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherSpi.java | 579 * @param wrappedKey 588 * if the {@code wrappedKey} cannot be unwrapped to a key of 595 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm,
|
Cipher.java | [all...] |
/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/ |
NullCipherSpi.java | 163 public Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm,
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherSpiTest.java | 132 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) 134 return super.engineUnwrap(wrappedKey, wrappedKeyAlgorithm, wrappedKeyType);
|
/frameworks/base/media/jni/ |
android_media_MediaDrm.cpp | 947 Vector<uint8_t> certificate, wrappedKey; 949 status_t err = drm->provideProvisionResponse(response, certificate, wrappedKey); 956 if (clazz && certificate.size() && wrappedKey.size()) { 961 jbyteArray jwrappedKey = VectorToJByteArray(env, wrappedKey); [all...] |