PHP Class AcmePhp\Ssl\ParsedKey

See also: openssl_pkey_get_details
Author: Titouan Galopin ([email protected])
Show file Open project: acmephp/acmephp

Public Methods

Method Description
__construct ( Key $source, string $key, integer $bits, integer $type, array $details = [] )
getBits ( ) : integer
getDetail ( string $name ) : mixed
getDetails ( ) : array
getKey ( ) : string
getSource ( ) : Key
getType ( ) : integer
hasDetail ( string $name ) : boolean

Method Details

__construct() public method

public __construct ( Key $source, string $key, integer $bits, integer $type, array $details = [] )
$source Key
$key string
$bits integer
$type integer
$details array

getBits() public method

public getBits ( ) : integer
return integer

getDetail() public method

public getDetail ( string $name ) : mixed
$name string
return mixed

getDetails() public method

public getDetails ( ) : array
return array

getKey() public method

public getKey ( ) : string
return string

getSource() public method

public getSource ( ) : Key
return Key

getType() public method

public getType ( ) : integer
return integer

hasDetail() public method

public hasDetail ( string $name ) : boolean
$name string
return boolean