PemPrivateKeySerializer
in package
implements
PrivateKeySerializerInterface
PEM Private key formatter
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- parse() : PrivateKeyInterface
- serialize() : string
Properties
$derSerializer
private
DerPrivateKeySerializer
$derSerializer
Methods
__construct()
public
__construct(DerPrivateKeySerializer $derSerializer) : mixed
Parameters
- $derSerializer : DerPrivateKeySerializer
parse()
public
parse(string $formattedKey) : PrivateKeyInterface
Parameters
- $formattedKey : string
Tags
Return values
PrivateKeyInterfaceserialize()
public
serialize(PrivateKeyInterface $key) : string
Parameters
- $key : PrivateKeyInterface