gnu.crypto.keyring

Class PasswordEncryptedEntry

public class PasswordEncryptedEntry extends MaskableEnvelopeEntry implements PasswordProtectedEntry, Registry

An envelope that is encrypted with a password-derived key.
Field Summary
static intTYPE
Constructor Summary
PasswordEncryptedEntry(String cipher, String mode, int keylen, Properties properties)
Method Summary
static PasswordEncryptedEntrydecode(DataInputStream in, char[] password)
static PasswordEncryptedEntrydecode(DataInputStream in)
voiddecrypt(char[] password)
voidencode(DataOutputStream out, char[] password)
protected voidencodePayload()
voidencrypt(char[] password)

Field Detail

TYPE

public static final int TYPE

Constructor Detail

PasswordEncryptedEntry

public PasswordEncryptedEntry(String cipher, String mode, int keylen, Properties properties)

Method Detail

decode

public static PasswordEncryptedEntry decode(DataInputStream in, char[] password)

decode

public static PasswordEncryptedEntry decode(DataInputStream in)

decrypt

public void decrypt(char[] password)

encode

public void encode(DataOutputStream out, char[] password)

encodePayload

protected void encodePayload()

encrypt

public void encrypt(char[] password)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.