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, setSpinCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
public 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 EncryptionVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier
in class EncryptionVerifier
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash
in class EncryptionVerifier
public void setEncryptedKey(byte[] encryptedKey)
setEncryptedKey
in class EncryptionVerifier
public AgileEncryptionVerifier copy()
copy
in interface Duplicatable
copy
in class EncryptionVerifier
public 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 EncryptionVerifier
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.