|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.poifs.crypt.EncryptionVerifier
public abstract class EncryptionVerifier
Used when checking if a key is valid for a document
Constructor Summary | |
---|---|
protected |
EncryptionVerifier()
|
Method Summary | |
---|---|
int |
getAlgorithm()
|
java.lang.String |
getAlgorithmName()
Deprecated. use getCipherAlgorithm().jceId |
ChainingMode |
getChainingMode()
|
CipherAlgorithm |
getCipherAlgorithm()
|
int |
getCipherMode()
|
byte[] |
getEncryptedKey()
|
byte[] |
getEncryptedVerifier()
|
byte[] |
getEncryptedVerifierHash()
|
HashAlgorithm |
getHashAlgorithm()
|
byte[] |
getSalt()
|
int |
getSpinCount()
|
byte[] |
getVerifier()
Deprecated. use getEncryptedVerifier() |
byte[] |
getVerifierHash()
Deprecated. use getEnryptedVerifierHash |
protected void |
setChainingMode(ChainingMode chainingMode)
|
protected void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
|
protected void |
setEncryptedKey(byte[] encryptedKey)
|
protected void |
setEncryptedVerifier(byte[] encryptedVerifier)
|
protected void |
setEncryptedVerifierHash(byte[] encryptedVerifierHash)
|
protected void |
setHashAlgorithm(HashAlgorithm hashAlgorithm)
|
protected void |
setSalt(byte[] salt)
|
protected void |
setSpinCount(int spinCount)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EncryptionVerifier()
Method Detail |
---|
public byte[] getSalt()
public byte[] getVerifier()
public byte[] getEncryptedVerifier()
public byte[] getVerifierHash()
public byte[] getEncryptedVerifierHash()
public int getSpinCount()
public int getCipherMode()
public int getAlgorithm()
public java.lang.String getAlgorithmName()
public byte[] getEncryptedKey()
public CipherAlgorithm getCipherAlgorithm()
public HashAlgorithm getHashAlgorithm()
public ChainingMode getChainingMode()
protected void setSalt(byte[] salt)
protected void setEncryptedVerifier(byte[] encryptedVerifier)
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
protected void setEncryptedKey(byte[] encryptedKey)
protected void setSpinCount(int spinCount)
protected void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
protected void setChainingMode(ChainingMode chainingMode)
protected void setHashAlgorithm(HashAlgorithm hashAlgorithm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |