DerPublicKeySerializer
in package
implements
PublicKeySerializerInterface
Tags
Table of Contents
Interfaces
Constants
- X509_ECDSA_OID = '1.2.840.10045.2.1'
Properties
Methods
- __construct() : mixed
- getUncompressedKey() : string
- parse() : PublicKeyInterface
- serialize() : string
Constants
X509_ECDSA_OID
public
mixed
X509_ECDSA_OID
= '1.2.840.10045.2.1'
Properties
$adapter
private
GmpMathInterface
$adapter
$formatter
private
Formatter
$formatter
$parser
private
Parser
$parser
Methods
__construct()
public
__construct([GmpMathInterface|null $adapter = null ][, PointSerializerInterface|null $pointSerializer = null ]) : mixed
Parameters
- $adapter : GmpMathInterface|null = null
- $pointSerializer : PointSerializerInterface|null = null
getUncompressedKey()
public
getUncompressedKey(PublicKeyInterface $key) : string
Parameters
- $key : PublicKeyInterface
Return values
stringparse()
public
parse(string $string) : PublicKeyInterface
Parameters
- $string : string
Tags
Return values
PublicKeyInterfaceserialize()
public
serialize(PublicKeyInterface $key) : string
Parameters
- $key : PublicKeyInterface