Required Initializervapor.jwt-kit 5.1.2JWTKit
init(rawRepresentation:)
ECDSAKeyTypes.swift:33init(rawRepresentation: some ContiguousBytes) throws
init(rawRepresentation: some ContiguousBytes) throws
s6JWTKit15ECDSAPrivateKeyP17rawRepresentationxqd___tKc20FoundationEssentials15ContiguousBytesRd__lufc
What are these?3AKWC
import JWTKit
🔑 JSON Web Token signing and verification (HMAC, RSA, PSS, ECDSA, EdDSA) using SwiftCrypto.
protocol ECDSAPrivateKey : Sendable
protocol ContiguousBytes
Indicates that the conforming type is a contiguous collection of raw bytes whose underlying storage is directly accessible by withUnsafeBytes.
associatedtype PublicKey : ECDSAPublicKey
associatedtype Signature : ECDSASignature
init(compactRepresentable: Bool)
init<Bytes>(derRepresentation: Bytes) throws where Bytes : RandomAccessCollection, Bytes.Element == UInt8
init(pemRepresentation: String) throws
init(x963Representation: some ContiguousBytes) throws
var derRepresentation: Data { get }
var pemRepresentation: String { get }
var publicKey: PublicKey { get }
var rawRepresentation: Data { get }
var x963Representation: Data { get }
func signature(for data: some Digest) throws -> Signature