public class ContentCryptoMaterialRW extends ContentCryptoMaterial
ContentCryptoMaterial
.cek, contentCryptoAlgorithm, encryptedCEK, encryptedIV, iv, keyWrapAlgorithm, matdesc
构造器和说明 |
---|
ContentCryptoMaterialRW() |
限定符和类型 | 方法和说明 |
---|---|
void |
setCEK(SecretKey cek)
Sets the content encryption key to the specified key.
|
void |
setContentCryptoAlgorithm(String cententCryptoAlgorithm)
Sets the content crypto algorithm to the specified algorithm.
|
void |
setEncryptedCEK(byte[] encryptedCEK)
Sets the encrypted content encryption key to the specified array.
|
void |
setEncryptedIV(byte[] encryptedIV)
Sets the encrypted content crypto cipher start counter to the specified array.
|
void |
setIV(byte[] iv)
Sets the content crypto cipher start counter to the specified counter.
|
void |
setKeyWrapAlgorithm(String keyWrapAlgorithm)
Sets the key wrap algorithm to the specified algorithm.
|
void |
setMaterialsDescription(Map<String,String> matdesc)
Sets the description of the encryption materials
|
getCEK, getContentCryptoAlgorithm, getEncryptedCEK, getEncryptedIV, getIV, getKeyWrapAlgorithm, getMaterialsDescription, hashCode
public void setContentCryptoAlgorithm(String cententCryptoAlgorithm)
public void setCEK(SecretKey cek)
public void setIV(byte[] iv)
public void setEncryptedCEK(byte[] encryptedCEK)
public void setEncryptedIV(byte[] encryptedIV)
public void setKeyWrapAlgorithm(String keyWrapAlgorithm)
Copyright © 2020. All Rights Reserved.