public class Biff8RC4Key extends Biff8EncryptionKey
Modifier and Type | Field and Description |
---|---|
static int |
KEY_DIGEST_LENGTH |
_secretKey
Modifier and Type | Method and Description |
---|---|
static Biff8RC4Key |
create(java.lang.String password,
byte[] salt)
Create using the default password and a specified docId
|
boolean |
validate(byte[] verifier,
byte[] verifierHash) |
create, getCurrentUserPassword, setCurrentUserPassword
public static final int KEY_DIGEST_LENGTH
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 saltHashCopyright 2015 The Apache Software Foundation or its licensors, as applicable.