Private

oxygen.crypto.service.HashKey.RS256.Private
final case class Private(privateKey: String, publicKey: String) extends Private

Value parameters

privateKey

Accepts key in PKCS8 format. Headers/footer/newlines are optional, and will be properly stripped if provided.

publicKey

Accepts x509 format. Headers/footer/newlines are optional, and will be properly stripped if provided.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Private
trait CanIssue
trait Asymmetric
trait CanValidate
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

final def issue(payload: String): BearerToken

Attributes

Inherited from:
CanIssue
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def validate(token: BearerToken): Either[JWTError, Unit]

Attributes

Inherited from:
CanValidate