SignInfo

This object holds signature information that is used by SecurityServiceInterface. The SignInfo object methods are as follows:

Method

detachedSignature

Method description

Constructs SignInfo with a detached signature, digest, and the algorithm name.

Syntax

public SignInfo(byte[] detachedSignature, byte[] digest, String digestAlgoName)

Parameters

digestAlgoName
The digest algorithm name

Method

getData getDetachedSignature

Method description

Returns the data contained in this SignInfo object.

Syntax

public byte[] getData()

Parameters

None

Method

getDigest

Method description

Returns the digest contained in this SignInfo.

Syntax

public byte[] getDigest()

Parameters

None

Method

getDigestAlgoName

Method description

Returns the digest algorithm name contained in this SignInfo object.

Syntax

public String getDigestAlgoName()

Parameters

None

Copyright IBM Corp. 2003, 2005