Skip to content

Core\Crypto\KeyPair

A private key together with its public key. You use it to sign data and to agree on a shared secret with another party's public key.

Returned by

You get a Core\Crypto\KeyPair from these methods:

Members

3 members.

MemberSignature
readread(secret bytes $pkcs8, Core\Crypto\KeyKind $kind): Core\Crypto\KeyPair
writewrite(): secret bytes
publicKeypublicKey(): Core\Crypto\PublicKey