public class StandardEncryptionVerifier extends EncryptionVerifier implements EncryptionRecord
Modifier | Constructor and Description |
---|---|
protected |
StandardEncryptionVerifier(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
StandardEncryptionVerifier(DocumentInputStream is,
StandardEncryptionHeader header) |
Modifier and Type | Method and Description |
---|---|
protected int |
getVerifierHashSize() |
protected void |
setEncryptedVerifier(byte[] encryptedVerifier) |
protected void |
setEncryptedVerifierHash(byte[] encryptedVerifierHash) |
protected void |
setSalt(byte[] salt) |
void |
write(LittleEndianByteArrayOutputStream bos) |
getAlgorithm, getAlgorithmName, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, getVerifier, getVerifierHash, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCount
protected StandardEncryptionVerifier(DocumentInputStream is, StandardEncryptionHeader header)
protected StandardEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
protected void setSalt(byte[] salt)
setSalt
in class EncryptionVerifier
protected void setEncryptedVerifier(byte[] encryptedVerifier)
setEncryptedVerifier
in class EncryptionVerifier
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
setEncryptedVerifierHash
in class EncryptionVerifier
public void write(LittleEndianByteArrayOutputStream bos)
write
in interface EncryptionRecord
protected int getVerifierHashSize()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.