Operatorvapor.jwt-kit 5.1.2JWTKit
==(_:_:)
ECDSA.swift:115static func == (lhs: Self, rhs: Self) -> Bool
static func == (lhs: Self, rhs: Self) -> Bool
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
struct PublicKey<Curve> where Curve : ECDSACurveType
enum ECDSA
@frozen struct Bool
A value type whose instances are either true
or false
.
init(backing: some ECDSAPublicKey) throws
Creates an ECDSA.PublicKey
instance from SwiftCrypto PublicKey.
init(certificate pem: String) throws
Creates an ECDSA.PublicKey
instance from a PEM encoded certificate string.
init(certificate pem: some DataProtocol) throws
Creates an ECDSA.PublicKey
instance from a PEM encoded certificate data.
init(parameters: ECDSAParameters) throws
Initializes a new ``ECDSA.PublicKey` with ECDSA parameters.
init(pem string: String) throws
Creates an ECDSA.PublicKey
instance from a PEM encoded public key string.
init(pem data: some DataProtocol) throws
Creates an ECDSA.PublicKey
instance from a PEM encoded public key data.
var curve: ECDSACurve { get }
var parameters: ECDSAParameters? { get }
var pemRepresentation: String { get }
The current public key as a PEM encoded string.