/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/ |
CipherFactory.java | 218 byte[] wrappedKey = data.key.getEncoded(); 219 if (wrappedKey != null && data.iv != null) { 220 outState.putByteArray(BUNDLE_KEY, wrappedKey); 239 byte[] wrappedKey = savedInstanceState.getByteArray(BUNDLE_KEY); 241 if (wrappedKey == null || iv == null) return false; 244 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, CryptoKey unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages); 69 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBufferView wrappedKey, CryptoKey unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlgorithm, boolean extractable, KeyUsage[] keyUsages);
|
SubtleCrypto.cpp | 364 ScriptPromise SubtleCrypto::unwrapKey(ScriptState* scriptState, const String& rawFormat, const ArrayPiece& wrappedKey, CryptoKey* unwrappingKey, const Dictionary& rawUnwrapAlgorithm, const Dictionary& rawUnwrappedKeyAlgorithm, bool extractable, const Vector<String>& rawKeyUsages) 372 if (!ensureNotNull(wrappedKey, "wrappedKey", result.get())) 396 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); 226 const Vector<uint8_t>& wrappedKey, 231 UNUSED(wrappedKey);
|
/frameworks/av/include/media/ |
IDrm.h | 71 Vector<uint8_t> &wrappedKey) = 0; 121 Vector<uint8_t> const &wrappedKey,
|
/frameworks/av/media/libmediaplayerservice/ |
Drm.h | 76 Vector<uint8_t> &wrappedKey); 125 Vector<uint8_t> const &wrappedKey,
|
Drm.cpp | 406 Vector<uint8_t> &wrappedKey) { 417 return mPlugin->provideProvisionResponse(response, certificate, wrappedKey); 656 Vector<uint8_t> const &wrappedKey, 672 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature);
|
/frameworks/av/media/libmedia/ |
IDrm.cpp | 222 Vector<uint8_t> &wrappedKey) { 230 readVector(reply, wrappedKey); 434 Vector<uint8_t> const &wrappedKey, 442 writeVector(data, wrappedKey); 645 Vector<uint8_t> wrappedKey; 647 status_t result = provideProvisionResponse(response, certificate, wrappedKey); 649 writeVector(reply, wrappedKey); 827 Vector<uint8_t> sessionId, message, wrappedKey, signature; 831 readVector(data, wrappedKey); 832 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 | 217 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); 136 Vector<uint8_t> const &wrappedKey,
|
MockDrmCryptoPlugin.cpp | 289 Vector<uint8_t> &wrappedKey) 641 Vector<uint8_t> const &wrappedKey, 650 vectorToString(wrappedKey).string(), 654 // byte[] wrappedKey -> mock-wrappedkey 660 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...] |