gnu.crypto.keyring

Interface PasswordProtectedEntry

Known Implementing Classes:
PasswordAuthenticatedEntry, PasswordEncryptedEntry

public interface PasswordProtectedEntry

Field Summary

static Integer
ITERATION_COUNT
The iteration count for password-based KDFs.

Method Summary

void
encode(DataOutputStream out, char[] password)
Encodes this entry, protected by a password.

Field Details

ITERATION_COUNT

public static final Integer ITERATION_COUNT
The iteration count for password-based KDFs.

Method Details

encode

public void encode(DataOutputStream out,
                   char[] password)
            throws IOException
Encodes this entry, protected by a password.

Parameters:
out - The output stream to encode to.
password - The password.


Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.