gnu.crypto.sig

Interface ISignatureCodec

Known Implementing Classes:
DSSSignatureRawCodec, RSAPSSSignatureRawCodec

public interface ISignatureCodec

The visible methods of an object that knows how to encode and decode cryptographic signatures. Codecs are useful for (a) externalising signature output data for storage and on-the-wire transmission, as well as (b) re- creating their internal Java representation from external sources.

Version:
$Revision: 1.4 $

Field Summary

static int
RAW_FORMAT
Constant identifying the Raw encoding format.

Method Summary

Object
decodeSignature(byte[] input)
byte[]
encodeSignature(Object signature)
int
getFormatID()

Field Details

RAW_FORMAT

public static final int RAW_FORMAT
Constant identifying the Raw encoding format.

Field Value:
1

Method Details

decodeSignature

public Object decodeSignature(byte[] input)


encodeSignature

public byte[] encodeSignature(Object signature)


getFormatID

public int getFormatID()


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