\CryptoManana\Core\Interfaces\MessageEncryptionSignatureDataFormatsInterface

Interface SignatureDataFormatsInterface - Interface for the signature output formats.

Summary

Methods
Constants
setSignatureFormat()
getSignatureFormat()
SIGNATURE_OUTPUT_RAW
SIGNATURE_OUTPUT_HEX_UPPER
SIGNATURE_OUTPUT_HEX_LOWER
SIGNATURE_OUTPUT_BASE_64
SIGNATURE_OUTPUT_BASE_64_URL
No protected methods found
N/A
No private methods found
N/A

Constants

SIGNATURE_OUTPUT_RAW

SIGNATURE_OUTPUT_RAW

The signature output format for a raw byte string representation.

SIGNATURE_OUTPUT_HEX_UPPER

SIGNATURE_OUTPUT_HEX_UPPER

The signature output format for a upper case HEX string representation.

SIGNATURE_OUTPUT_HEX_LOWER

SIGNATURE_OUTPUT_HEX_LOWER

The signature output format for a lower case HEX string representation.

SIGNATURE_OUTPUT_BASE_64

SIGNATURE_OUTPUT_BASE_64

The signature output format for a Base64 standard string representation.

SIGNATURE_OUTPUT_BASE_64_URL

SIGNATURE_OUTPUT_BASE_64_URL

The signature output format for a Base64 URL friendly string representation.

Methods

setSignatureFormat()

setSignatureFormat(integer  $signatureFormat) 

Setter for the output signature format code property.

Parameters

integer $signatureFormat

The output signature format code.

Throws

\Exception

Validation errors.

getSignatureFormat()

getSignatureFormat() : integer

Getter for the output signature format code property.

Returns

integer —

The output signature format code.