\CryptoManana\Core\Traits\MessageEncryptionSignatureDigestionTrait

Trait SignatureDigestionTrait - Reusable implementation of `SignatureDigestionInterface`.

Summary

Methods
Properties
Constants
setSignatureDigestion()
getSignatureDigestion()
$$digestion
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$$digestion

$$digestion : integer

The signature's internal digestion algorithm property.

Type

integer

Methods

setSignatureDigestion()

setSignatureDigestion(integer  $signingAlgorithm) : $this

Setter for the signature's internal digestion algorithm property.

Parameters

integer $signingAlgorithm

The digestion algorithm integer code value.

Throws

\Exception

Validation errors.

Returns

$this —

The signature algorithm object.

getSignatureDigestion()

getSignatureDigestion() : integer

Setter for the signature's internal digestion algorithm property.

Returns

integer —

The digestion algorithm integer code value.