PHP 클래스 ParagonIE\Halite\EncryptionKeyPair

상속: extends KeyPair
파일 보기 프로젝트 열기: paragonie/halite

보호된 프로퍼티들

프로퍼티 타입 설명
$publicKey EncryptionPublicKey
$secretKey EncryptionSecretKey

공개 메소드들

메소드 설명
__construct ( variadic $keys ) Pass it a secret key, it will automatically generate a public key
getPublicKey ( ) : EncryptionPublicKey Get a Key object for the public key
getSecretKey ( ) : EncryptionSecretKey Get a Key object for the public key

보호된 메소드들

메소드 설명
setupKeyPair ( EncryptionSecretKey $secret ) Set up our key pair

메소드 상세

__construct() 공개 메소드

Pass it a secret key, it will automatically generate a public key
public __construct ( variadic $keys )
$keys variadic

getPublicKey() 공개 메소드

Get a Key object for the public key
public getPublicKey ( ) : EncryptionPublicKey
리턴 EncryptionPublicKey

getSecretKey() 공개 메소드

Get a Key object for the public key
public getSecretKey ( ) : EncryptionSecretKey
리턴 EncryptionSecretKey

setupKeyPair() 보호된 메소드

Set up our key pair
protected setupKeyPair ( EncryptionSecretKey $secret )
$secret EncryptionSecretKey

프로퍼티 상세

$publicKey 보호되어 있는 프로퍼티

protected EncryptionPublicKey $publicKey
리턴 EncryptionPublicKey

$secretKey 보호되어 있는 프로퍼티

protected EncryptionSecretKey $secretKey
리턴 EncryptionSecretKey