Documentation

Key
in package

Table of Contents

Properties

$algorithm  : string
$keyMaterial  : string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate

Methods

__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

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

        
On this page

Search results