public enum CryptoStorageMode extends java.lang.Enum<CryptoStorageMode>
ObjectMetadata is the default storage mode. If the ObjectMetadata mode is used, then encryption information will be placed in the metadata of the encrypted object stored in S3. Note: There is a 2 KB limit on the size of the metadata, so be careful that you do not run out of space if you are storing a lot of your own metadata.
If the InstructionFile mode is used, then encryption information will be placed in a separate instruction file that will be stored in the same bucket as the encrypted object in S3. No metadata will be used for storing encryption information.
| 列挙型定数と説明 |
|---|
InstructionFile |
ObjectMetadata |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static CryptoStorageMode |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static CryptoStorageMode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final CryptoStorageMode InstructionFile
public static final CryptoStorageMode ObjectMetadata
public static CryptoStorageMode[] values()
for(CryptoStorageMode c: CryptoStorageMode.values()) System.out.println(c);
public static CryptoStorageMode valueOf(java.lang.String name)
name - 返される列挙型定数の名前java.lang.IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合java.lang.NullPointerException - 引数がnullの場合