public class AgileEncryptionVerifier extends EncryptionVerifier
| Modifier | Constructor and Description |
|---|---|
|
AgileEncryptionVerifier(AgileEncryptionVerifier other) |
|
AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
AgileEncryptionVerifier(EncryptionDocument ed) |
|
AgileEncryptionVerifier(java.lang.String descriptor) |
| Modifier and Type | Method and Description |
|---|---|
AgileEncryptionVerifier |
copy() |
int |
getBlockSize()
The blockSize (in bytes) of the verifier data.
|
int |
getKeySize()
The keysize (in bits) of the verifier data.
|
void |
setBlockSize(int blockSize)
Sets the blockSize (in bytes) of the verifier
|
void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm) |
void |
setEncryptedKey(byte[] encryptedKey) |
void |
setEncryptedVerifier(byte[] encryptedVerifier) |
void |
setEncryptedVerifierHash(byte[] encryptedVerifierHash) |
void |
setKeySize(int keyBits)
Sets the keysize (in bits) of the verifier
|
void |
setSalt(byte[] salt) |
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setHashAlgorithm, setSpinCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic AgileEncryptionVerifier(java.lang.String descriptor)
protected AgileEncryptionVerifier(EncryptionDocument ed)
public AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
public AgileEncryptionVerifier(AgileEncryptionVerifier other)
public void setSalt(byte[] salt)
setSalt in class EncryptionVerifierpublic void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier in class EncryptionVerifierpublic void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash in class EncryptionVerifierpublic void setEncryptedKey(byte[] encryptedKey)
setEncryptedKey in class EncryptionVerifierpublic AgileEncryptionVerifier copy()
copy in interface Duplicatablecopy in class EncryptionVerifierpublic int getKeySize()
public int getBlockSize()
public void setKeySize(int keyBits)
keyBits - the keysize (in bits)public void setBlockSize(int blockSize)
blockSize - the blockSize (in bytes)public final void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
setCipherAlgorithm in class EncryptionVerifierCopyright 2021 The Apache Software Foundation or its licensors, as applicable.