Class AbstractKey

Summary

Fully Qualified Name: Zend\Crypt\PublicKey\Rsa\AbstractKey

Description

Methods

Name Description Defined By
__toString() AbstractKey
decrypt() Decrypt using this key AbstractKey
encrypt() Encrypt using this key AbstractKey
getOpensslKeyResource() Retrieve openssl key resource AbstractKey
getSize() Get key size in bits AbstractKey
toString() Get string representation of this key AbstractKey

Method Details

__toString()

Returns: string

decrypt()

Decrypt using this key

Parameter Name Type Description
$data string

Returns: string

encrypt()

Encrypt using this key

Parameter Name Type Description
$data string

Returns: string

getOpensslKeyResource()

Retrieve openssl key resource

Returns: resource

getSize()

Get key size in bits

Returns: int

toString()

Get string representation of this key

Returns: string

Top