Метод | Описание | |
---|---|---|
sign ( $input, $key, $password = null ) | ||
verify ( $key, $signature, $input ) |
Метод | Описание | |
---|---|---|
getHashingAlgorithm ( ) : string | Returns the hashing algorithm used in this signer. | |
getKeyResource ( string | resource $key, string $password = null ) : resource | Converts a string representation of a key into an OpenSSL resource. | |
getSupportedPrivateKeyType ( ) : string | Returns the private key type supported in this signer. | |
supportsKey ( resource $key ) : boolean | Check if the key is supported by this signer. |
abstract protected getHashingAlgorithm ( ) : string | ||
Результат | string |
protected getKeyResource ( string | resource $key, string $password = null ) : resource | ||
$key | string | resource | |
$password | string | |
Результат | resource | OpenSSL key resource |
abstract protected getSupportedPrivateKeyType ( ) : string | ||
Результат | string |
protected supportsKey ( resource $key ) : boolean | ||
$key | resource | Public or private key |
Результат | boolean |