Raw
abstract class Raw (View source)
Raw DSA Key Handler
Methods
static array
load(array $key, string $password = '')
Break a public or private key down into its constituent components
static string
savePrivateKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, string $password = '')
Convert a private key to the appropriate format.
static string
savePublicKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y)
Convert a public key to the appropriate format
Details
static array
load(array $key, string $password = '')
Break a public or private key down into its constituent components
static string
savePrivateKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y, BigInteger $x, string $password = '')
Convert a private key to the appropriate format.
static string
savePublicKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y)
Convert a public key to the appropriate format