class OpenSslRsaKey (View source)

An RSA key

Properties

protected string $modulus
protected string $keyString

Methods

__construct(string $modulus, string $keyString)

Constructor

string
getModulus()

Returns the modulus in HEX representation

string
getKeyString()

Returns the key string

Details

__construct(string $modulus, string $keyString)

Constructor

Parameters

string $modulus

The HEX modulus

string $keyString

The private key string

string getModulus()

Returns the modulus in HEX representation

Return Value

string

The modulus

string getKeyString()

Returns the key string

Return Value

string

The key string