Documentation

Key
in package

Table of Contents

$algorithm  : string
$keyMaterial  : string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate
__construct()  : mixed
getAlgorithm()  : string
Return the algorithm valid for this key
getKeyMaterial()  : string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate

Properties

$algorithm

private string $algorithm

$keyMaterial

private string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial

Methods

__construct()

public __construct(string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial, string $algorithm) : mixed
Parameters
$keyMaterial : string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate
$algorithm : string
Return values
mixed

getAlgorithm()

Return the algorithm valid for this key

public getAlgorithm() : string
Return values
string

getKeyMaterial()

public getKeyMaterial() : string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate
Return values
string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate

Search results