|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.crypto.Biff8EncryptionKey
org.apache.poi.hssf.record.crypto.Biff8RC4Key
public class Biff8RC4Key
Field Summary | |
---|---|
static int |
KEY_DIGEST_LENGTH
|
Fields inherited from class org.apache.poi.hssf.record.crypto.Biff8EncryptionKey |
---|
_secretKey |
Method Summary | |
---|---|
static Biff8RC4Key |
create(java.lang.String password,
byte[] salt)
Create using the default password and a specified docId |
boolean |
validate(byte[] verifier,
byte[] verifierHash)
|
Methods inherited from class org.apache.poi.hssf.record.crypto.Biff8EncryptionKey |
---|
create, getCurrentUserPassword, setCurrentUserPassword |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int KEY_DIGEST_LENGTH
Method Detail |
---|
public static Biff8RC4Key create(java.lang.String password, byte[] salt)
salt
- 16 bytespublic boolean validate(byte[] verifier, byte[] verifierHash)
validate
in class Biff8EncryptionKey
true
if the keyDigest is compatible with the specified saltData and saltHash
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |