\CryptoManana\Core\Interfaces\MessageEncryptionSignatureDigestionInterface

Interface SignatureDigestionInterface - Interface for signature digestion capabilities and operations.

Summary

Methods
Constants
setSignatureDigestion()
getSignatureDigestion()
SHA1_SIGNING
SHA2_224_SIGNING
SHA2_256_SIGNING
SHA2_384_SIGNING
SHA2_512_SIGNING
No protected methods found
N/A
No private methods found
N/A

Constants

SHA1_SIGNING

SHA1_SIGNING

The SHA-1 algorithm signature digestion format.

SHA2_224_SIGNING

SHA2_224_SIGNING

The SHA-2-224 algorithm signature digestion format.

SHA2_256_SIGNING

SHA2_256_SIGNING

The SHA-2-256 algorithm signature digestion format.

SHA2_384_SIGNING

SHA2_384_SIGNING

The SHA-2-384 algorithm signature digestion format.

SHA2_512_SIGNING

SHA2_512_SIGNING

The SHA-2-512 algorithm signature digestion format.

Methods

setSignatureDigestion()

setSignatureDigestion(integer  $signingAlgorithm) 

Setter for the signature's internal digestion algorithm property.

Parameters

integer $signingAlgorithm

The digestion algorithm integer code value.

Throws

\Exception

Validation errors.

getSignatureDigestion()

getSignatureDigestion() : integer

Setter for the signature's internal digestion algorithm property.

Returns

integer —

The digestion algorithm integer code value.