Methods Summary |
---|
public void | changePassword(char[] old_password, char[] new_password)
|
public byte[] | decrypt(byte[] other_public_key, byte[] data, char[] password)
|
public byte[] | decrypt(byte[] other_public_key, byte[] data, java.lang.String reason)
|
public byte[] | encrypt(byte[] other_public_key, byte[] data, java.lang.String reason)
|
public byte[] | encrypt(byte[] other_public_key, byte[] data, char[] password)
|
public byte[] | getEncryptedPrivateKey(char[] password)
|
public byte[] | getEncryptedPrivateKey(java.lang.String reason)
|
public byte[] | getPublicKey(char[] password)
|
public byte[] | getPublicKey(java.lang.String reason)
|
public CryptoSTSEngine | getSTSEngine(char[] password)
|
public CryptoSTSEngine | getSTSEngine(java.lang.String reason)
|
public int | getUnlockTimeoutSeconds()
|
public void | lock()Puts the handler back into a state where password will be required to access private stuff
|
public void | recoverKeys(byte[] public_key, byte[] encrypted_private_key)
|
public void | resetKeys(char[] password)
|
public void | setUnlockTimeoutSeconds(int secs)
|
public byte[] | sign(byte[] data, java.lang.String reason)
|
public byte[] | sign(byte[] data, char[] password)
|
public void | unlock(char[] password)Explicit unlock request
|
public boolean | verify(byte[] public_key, byte[] data, byte[] signature)
|