KeyPair

object KeyPair

companion object

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
KeyPair.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def create(algo: KeyAlgorithm): Option[KeyPair]

create a new KeyPair from a given algoritm

create a new KeyPair from a given algoritm

Returns:

Option[KeyPair]

def loadFromPem(path: String): Option[KeyPair]

load Keypair from private key pem file

load Keypair from private key pem file

Value parameters:
path

: path to private pem file

Returns:

KeyPair instance