Key
in package
Table of Contents
Properties
- $algorithm : string
- $keyMaterial : mixed
Methods
- __construct() : mixed
- getAlgorithm() : string
- Return the algorithm valid for this key
- getKeyMaterial() : string|OpenSSLAsymmetricKey|OpenSSLCertificate
Properties
$algorithm
private
string
$algorithm
$keyMaterial
private
mixed
$keyMaterial
Attributes
- #[SensitiveParameter]
Methods
__construct()
public
__construct(string|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial, string $algorithm) : mixed
Parameters
- $keyMaterial : string|OpenSSLAsymmetricKey|OpenSSLCertificate
- $algorithm : string
getAlgorithm()
Return the algorithm valid for this key
public
getAlgorithm() : string
Return values
stringgetKeyMaterial()
public
getKeyMaterial() : string|OpenSSLAsymmetricKey|OpenSSLCertificate