gnu.crypto.keyring
Interface PasswordProtectedEntry
- All Known Implementing Classes:
- PasswordAuthenticatedEntry, PasswordEncryptedEntry
- public interface PasswordProtectedEntry
Field Summary |
static java.lang.Integer |
ITERATION_COUNT
The iteration count for password-based KDFs. |
Method Summary |
void |
encode(java.io.DataOutputStream out,
char[] password)
Encodes this entry, protected by a password. |
ITERATION_COUNT
public static final java.lang.Integer ITERATION_COUNT
- The iteration count for password-based KDFs.
encode
public void encode(java.io.DataOutputStream out,
char[] password)
throws java.io.IOException
- Encodes this entry, protected by a password.
- Parameters:
out
- The output stream to encode to.password
- The password.
- Throws:
java.io.IOException
- If an I/O error occurs.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.