java.io.Serializable@Private
public class FileEncryptionInfo
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
FileEncryptionInfo(CipherSuite suite,
CryptoProtocolVersion version,
byte[] edek,
byte[] iv,
java.lang.String keyName,
java.lang.String ezKeyVersionName) |
Create a FileEncryptionInfo.
|
| Modifier and Type | Method | Description |
|---|---|---|
CipherSuite |
getCipherSuite() |
|
CryptoProtocolVersion |
getCryptoProtocolVersion() |
|
byte[] |
getEncryptedDataEncryptionKey() |
|
java.lang.String |
getEzKeyVersionName() |
|
byte[] |
getIV() |
|
java.lang.String |
getKeyName() |
|
java.lang.String |
toString() |
|
java.lang.String |
toStringStable() |
A frozen version of
toString() to be backward compatible. |
public FileEncryptionInfo(CipherSuite suite, CryptoProtocolVersion version, byte[] edek, byte[] iv, java.lang.String keyName, java.lang.String ezKeyVersionName)
suite - CipherSuite used to encrypt the fileedek - encrypted data encryption key (EDEK) of the fileiv - initialization vector (IV) used to encrypt the filekeyName - name of the key used for the encryption zoneezKeyVersionName - name of the KeyVersion used to encrypt the
encrypted data encryption key.version - version.public CipherSuite getCipherSuite()
CipherSuite used to encrypt
the file.public CryptoProtocolVersion getCryptoProtocolVersion()
CryptoProtocolVersion to use
to access the file.public byte[] getEncryptedDataEncryptionKey()
public byte[] getIV()
public java.lang.String getKeyName()
public java.lang.String getEzKeyVersionName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringStable()
toString() to be backward compatible.
When backward compatibility is not needed, use toString(), which
provides more info and is supposed to evolve.
Don't change this method except for major revisions.
NOTE:
Currently this method is used by CLI for backward compatibility.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.