gnu.crypto.sig

Interface ISignatureCodec

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.5 $

Field Summary
intRAW_FORMAT
Constant identifying the Raw encoding format.
Method Summary
ObjectdecodeSignature(byte[] input)
byte[]encodeSignature(Object signature)
intgetFormatID()

Field Detail

RAW_FORMAT

public int RAW_FORMAT
Constant identifying the Raw encoding format.

Method Detail

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.