gnu.crypto.keyring

Class PasswordAuthenticatedEntry

public final class PasswordAuthenticatedEntry extends MaskableEnvelopeEntry implements PasswordProtectedEntry, Registry

An entry authenticated with a password-based MAC.

Version: $Revision: 1.10 $

Field Summary
static intTYPE
Constructor Summary
PasswordAuthenticatedEntry(String mac, int maclen, Properties properties)
Method Summary
voidauthenticate(char[] password)
static PasswordAuthenticatedEntrydecode(DataInputStream in, char[] password)
static PasswordAuthenticatedEntrydecode(DataInputStream in)
voidencode(DataOutputStream out, char[] password)
protected voidencodePayload(DataOutputStream out)
voidverify(char[] password)

Field Detail

TYPE

public static final int TYPE

Constructor Detail

PasswordAuthenticatedEntry

public PasswordAuthenticatedEntry(String mac, int maclen, Properties properties)

Method Detail

authenticate

public void authenticate(char[] password)

decode

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

decode

public static PasswordAuthenticatedEntry decode(DataInputStream in)

encode

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

encodePayload

protected void encodePayload(DataOutputStream out)

verify

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