$signatureSource
$signatureSource : \CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface|null
The digital signature service property storage.
Class DigitalSignature - The digital signature cryptographic protocol object.
$signatureSource : \CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface|null
The digital signature service property storage.
setSignatureStandard(\CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface $standard) : $this
Setter for the digital signature service.
\CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface | $standard | The digital signature service or null. |
The container object.
getSignatureStandard() : \CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface|null
Getter for the digital signature service.
$cipher The digital signature service or null.
__construct(\CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface|null $signatureAlgorithm = null)
Container constructor.
\CryptoManana\Core\Abstractions\MessageEncryption\AbstractAsymmetricEncryptionAlgorithm|\CryptoManana\Core\Interfaces\MessageEncryption\DataSigningInterface|null | $signatureAlgorithm | The digital signature service. |
Initialization validation.
createSignedData(string $plainData) : \CryptoManana\DataStructures\SignedData
Creates a signed data object for the given input data.
string | $plainData | The plain input string. |
Validation errors.
The signed data object.
extractVerifiedData(\CryptoManana\DataStructures\SignedData $signedData) : string
Verifies and extracts the plain data from a signed data object.
\CryptoManana\DataStructures\SignedData | $signedData | The signed data object. |
Validation errors.
The verified plain information.