The message digest hash, H, is encapsulated to form a byte string as follows
EB = 06 || PS || 0xBA || H || TRAILERwhere 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.
| Access | Constructor and Description |
|---|---|
| public | X931Signer(AsymmetricBlockCipher
base cipher to use for signature creation/verification cipher, Digest digest to use. digest, boolean whether or not the trailer is implicit or gives the hash. implicit)Generate a signer for the with either implicit or explicit trailers for ISO9796-2. |
| public | X931Signer(AsymmetricBlockCipher
cipher to use. cipher, Digest digest to sign with. digest)Constructor for a signer with an explicit digest trailer. |
| X931Signer | back to summary |
|---|---|
| public X931Signer(AsymmetricBlockCipher cipher, Digest digest, boolean implicit) Generate a signer for the with either implicit or explicit trailers for ISO9796-2.
| |
| X931Signer | back to summary |
|---|---|
| public X931Signer(AsymmetricBlockCipher cipher, Digest digest) Constructor for a signer with an explicit digest trailer.
| |