public class CryptoAPIEncryptionHeader extends StandardEncryptionHeader
ALGORITHM_AES_128, ALGORITHM_AES_192, ALGORITHM_AES_256, ALGORITHM_RC4, HASH_NONE, HASH_SHA1, HASH_SHA256, HASH_SHA384, HASH_SHA512, MODE_CBC, MODE_CFB, MODE_ECB, PROVIDER_AES, PROVIDER_RC4
Modifier | Constructor and Description |
---|---|
protected |
CryptoAPIEncryptionHeader(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
CryptoAPIEncryptionHeader(CryptoAPIEncryptionHeader other) |
|
CryptoAPIEncryptionHeader(LittleEndianInput is) |
Modifier and Type | Method and Description |
---|---|
CryptoAPIEncryptionHeader |
copy() |
void |
setKeySize(int keyBits)
Sets the keySize (in bits).
|
write
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getGenericProperties, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySalt, setSizeExtra
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
public CryptoAPIEncryptionHeader(LittleEndianInput is) throws java.io.IOException
java.io.IOException
protected CryptoAPIEncryptionHeader(CryptoAPIEncryptionHeader other)
protected CryptoAPIEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
public void setKeySize(int keyBits)
EncryptionHeader
setKeySize
in class EncryptionHeader
public CryptoAPIEncryptionHeader copy()
copy
in interface Duplicatable
copy
in class StandardEncryptionHeader
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.