public abstract class EncryptionHeader extends java.lang.Object implements GenericRecord, Duplicatable
Modifier | Constructor and Description |
---|---|
protected |
EncryptionHeader() |
protected |
EncryptionHeader(EncryptionHeader other) |
Modifier and Type | Method and Description |
---|---|
abstract EncryptionHeader |
copy() |
int |
getBlockSize() |
ChainingMode |
getChainingMode() |
CipherAlgorithm |
getCipherAlgorithm() |
CipherProvider |
getCipherProvider() |
java.lang.String |
getCspName() |
int |
getFlags() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HashAlgorithm |
getHashAlgorithm() |
byte[] |
getKeySalt() |
int |
getKeySize() |
int |
getSizeExtra() |
void |
setBlockSize(int blockSize) |
protected void |
setChainingMode(ChainingMode chainingMode) |
void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
void |
setCipherProvider(CipherProvider providerType) |
void |
setCspName(java.lang.String cspName) |
void |
setFlags(int flags) |
void |
setHashAlgorithm(HashAlgorithm hashAlgorithm) |
void |
setKeySalt(byte[] salt) |
void |
setKeySize(int keyBits)
Sets the keySize (in bits).
|
void |
setSizeExtra(int sizeExtra) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
protected EncryptionHeader()
protected EncryptionHeader(EncryptionHeader other)
public ChainingMode getChainingMode()
protected void setChainingMode(ChainingMode chainingMode)
public int getFlags()
public void setFlags(int flags)
public int getSizeExtra()
public void setSizeExtra(int sizeExtra)
public CipherAlgorithm getCipherAlgorithm()
public void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
public HashAlgorithm getHashAlgorithm()
public void setHashAlgorithm(HashAlgorithm hashAlgorithm)
public int getKeySize()
public void setKeySize(int keyBits)
public int getBlockSize()
public void setBlockSize(int blockSize)
public byte[] getKeySalt()
public void setKeySalt(byte[] salt)
public CipherProvider getCipherProvider()
public void setCipherProvider(CipherProvider providerType)
public java.lang.String getCspName()
public void setCspName(java.lang.String cspName)
public abstract EncryptionHeader copy()
copy
in interface Duplicatable
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.