Documentation

Raw
in package

AbstractYes

Raw RSA Key Handler

Tags
author

Jim Wigginton terrafrost@php.net

access

public

Table of Contents

Methods

load()  : array<string|int, mixed>
Break a public or private key down into its constituent components
savePublicKey()  : array<string|int, mixed>
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
access

public

Return values
array<string|int, mixed>

savePublicKey()

Convert a public key to the appropriate format

public static savePublicKey(BigInteger $n, BigInteger $e) : array<string|int, mixed>
Parameters
$n : BigInteger
$e : BigInteger
Tags
access

public

Return values
array<string|int, mixed>

        
On this page

Search results