org.apache.poi.poifs.crypt
Class EncryptionVerifier
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionVerifier
-
- Direct Known Subclasses:
- AgileEncryptionVerifier, BinaryRC4EncryptionVerifier, StandardEncryptionVerifier
public abstract class EncryptionVerifier extends java.lang.ObjectUsed when checking if a key is valid for a document
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description intgetAlgorithm()java.lang.StringgetAlgorithmName()Deprecated.use getCipherAlgorithm().jceIdChainingModegetChainingMode()CipherAlgorithmgetCipherAlgorithm()intgetCipherMode()byte[]getEncryptedKey()byte[]getEncryptedVerifier()byte[]getEncryptedVerifierHash()HashAlgorithmgetHashAlgorithm()byte[]getSalt()intgetSpinCount()byte[]getVerifier()Deprecated.use getEncryptedVerifier()byte[]getVerifierHash()Deprecated.use getEnryptedVerifierHash
-
-
-
Method Detail
-
getSalt
public byte[] getSalt()
-
getVerifier
@Deprecated public byte[] getVerifier()
Deprecated. use getEncryptedVerifier()The method name is misleading - you'll get the encrypted verifier, not the plain verifier
-
getEncryptedVerifier
public byte[] getEncryptedVerifier()
-
getVerifierHash
@Deprecated public byte[] getVerifierHash()
Deprecated. use getEnryptedVerifierHashThe method name is misleading - you'll get the encrypted verifier hash, not the plain verifier hash
-
getEncryptedVerifierHash
public byte[] getEncryptedVerifierHash()
-
getSpinCount
public int getSpinCount()
-
getCipherMode
public int getCipherMode()
-
getAlgorithm
public int getAlgorithm()
-
getAlgorithmName
@Deprecated public java.lang.String getAlgorithmName()
Deprecated. use getCipherAlgorithm().jceId
-
getEncryptedKey
public byte[] getEncryptedKey()
-
getCipherAlgorithm
public CipherAlgorithm getCipherAlgorithm()
-
getHashAlgorithm
public HashAlgorithm getHashAlgorithm()
-
getChainingMode
public ChainingMode getChainingMode()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG