Class AgileEncryptionVerifier
java.lang.Object
org.docx4j.org.apache.poi.poifs.crypt.EncryptionVerifier
org.docx4j.org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier
Used when checking if a key is valid for a document
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionAgileEncryptionVerifier(String descriptor) protectedAgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidsetEncryptedKey(byte[] encryptedKey) protected voidsetEncryptedVerifier(byte[] encryptedVerifier) protected voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash) protected voidsetSalt(byte[] salt) Methods inherited from class org.docx4j.org.apache.poi.poifs.crypt.EncryptionVerifier
getAlgorithm, getAlgorithmName, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, getVerifier, getVerifierHash, setChainingMode, setCipherAlgorithm, setHashAlgorithm, setSpinCount
-
Constructor Details
-
AgileEncryptionVerifier
-
AgileEncryptionVerifier
-
AgileEncryptionVerifier
public AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Details
-
setSalt
protected void setSalt(byte[] salt) - Overrides:
setSaltin classEncryptionVerifier
-
setEncryptedVerifier
protected void setEncryptedVerifier(byte[] encryptedVerifier) - Overrides:
setEncryptedVerifierin classEncryptionVerifier
-
setEncryptedVerifierHash
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash) - Overrides:
setEncryptedVerifierHashin classEncryptionVerifier
-
setEncryptedKey
protected void setEncryptedKey(byte[] encryptedKey) - Overrides:
setEncryptedKeyin classEncryptionVerifier
-
addCertificate
-
getCertificates
-