org.apache.poi.poifs.crypt.agile
Class AgileEncryptionVerifier
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionVerifier
-
- org.apache.poi.poifs.crypt.agile.AgileEncryptionVerifier
-
public class AgileEncryptionVerifier extends EncryptionVerifier
Used when checking if a key is valid for a document
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classAgileEncryptionVerifier.AgileCertificateEntry
-
Constructor Summary
Constructors Constructor and Description AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)AgileEncryptionVerifier(java.lang.String descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddCertificate(java.security.cert.X509Certificate x509)java.util.List<AgileEncryptionVerifier.AgileCertificateEntry>getCertificates()-
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getAlgorithm, getAlgorithmName, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, getVerifier, getVerifierHash
-
-
-
-
Constructor Detail
-
AgileEncryptionVerifier
public AgileEncryptionVerifier(java.lang.String descriptor)
-
AgileEncryptionVerifier
public AgileEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Detail
-
addCertificate
public void addCertificate(java.security.cert.X509Certificate x509)
-
getCertificates
public java.util.List<AgileEncryptionVerifier.AgileCertificateEntry> getCertificates()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG