Top Description Fields Constructors Methods
org.bouncycastle.crypto.general

pack-priv Class X931Signer

extends BaseX931Signer
Class Inheritance
Imports
org.bouncycastle.crypto.fips.FipsRSA, org.bouncycastle.crypto.internal.AsymmetricBlockCipher, .Digest, org.bouncycastle.crypto.internal.signers.BaseX931Signer, org.bouncycastle.crypto.internal.util.ISOTrailers

X9.31-1998 - signing using a hash.

The message digest hash, H, is encapsulated to form a byte string as follows

EB = 06 || PS || 0xBA || H || TRAILER
where PS is a string of bytes all of value 0xBB of length such that |EB|=|n|, and TRAILER is the ISO/IEC 10118 part number† for the digest. The byte string, EB, is converted to an integer value, the message representative, f.

Field Summary

Inherited from org.bouncycastle.crypto.internal.signers.BaseX931Signer:
TRAILER_IMPLICIT

Constructor Summary

AccessConstructor and Description
public
X931Signer(Digest
digest to use.
digest
)

Generate a signer for the with either implicit or explicit trailers for ISO9796-2.

Method Summary

Inherited from org.bouncycastle.crypto.internal.signers.BaseX931Signer:
generateSignatureinitresetupdateupdateverifySignature

Constructor Detail

X931Signerback to summary
public X931Signer(Digest digest)

Generate a signer for the with either implicit or explicit trailers for ISO9796-2.

Parameters
digest:Digest

digest to use.