Home
last modified time | relevance | path

Searched refs:contentCryptoMaterial (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/oss/src/encryption/
A DEncryptionMaterials.cc58 auto encrptedKey = cipher->Encrypt(contentCryptoMaterial.ContentKey()); in EncryptCEK()
59 auto encrptedKeyIV = cipher->Encrypt(contentCryptoMaterial.ContentIV()); in EncryptCEK()
65 contentCryptoMaterial.setDescription(description_); in EncryptCEK()
66 contentCryptoMaterial.setKeyWrapAlgorithm(cipher->Name()); in EncryptCEK()
67 contentCryptoMaterial.setEncryptedContentKey(encrptedKey); in EncryptCEK()
68 contentCryptoMaterial.setEncryptedContentIV(encrptedKeyIV); in EncryptCEK()
84 int index = findIndexByDescription(contentCryptoMaterial.Description()); in DecryptCEK()
92 auto key = cipher->Decrypt(contentCryptoMaterial.EncryptedContentKey()); in DecryptCEK()
93 auto iv = cipher->Decrypt(contentCryptoMaterial.EncryptedContentIV()); in DecryptCEK()
99 contentCryptoMaterial.setContentKey(key); in DecryptCEK()
[all …]
/AliOS-Things-master/components/oss/include/alibabacloud/oss/encryption/
A DEncryptionMaterials.h32 virtual int EncryptCEK(ContentCryptoMaterial& contentCryptoMaterial) = 0;
33 virtual int DecryptCEK(ContentCryptoMaterial& contentCryptoMaterial) = 0;
46 virtual int EncryptCEK(ContentCryptoMaterial& contentCryptoMaterial);
47 virtual int DecryptCEK(ContentCryptoMaterial& contentCryptoMaterial);

Completed in 3 milliseconds