XML
in package
AbstractYes
XML Formatted DSA Key Handler
Tags
Table of Contents
Methods
- load() : array<string|int, mixed>
- Break a public or private key down into its constituent components
- savePublicKey() : string
- Convert a public key to the appropriate format
Methods
load()
Break a public or private key down into its constituent components
public
static load(string $key[, string $password = '' ]) : array<string|int, mixed>
Parameters
- $key : string
- $password : string = ''
-
optional
Tags
Return values
array<string|int, mixed>savePublicKey()
Convert a public key to the appropriate format
public
static savePublicKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y) : string
See https://www.w3.org/TR/xmldsig-core/#sec-DSAKeyValue
Parameters
- $p : BigInteger
- $q : BigInteger
- $g : BigInteger
- $y : BigInteger