PrivateKey

extension PrivateKey: SigningKey
  • Declaration

    Swift

    public var address: String { get }
  • sign(_:) Asynchronous

    Declaration

    Swift

    public func sign(_ data: Data) async throws -> Signature
  • sign(message:) Asynchronous

    Declaration

    Swift

    public func sign(message: String) async throws -> Signature
  • Undocumented

    Declaration

    Swift

    init(_ privateKeyData: Data) throws
  • Undocumented

    Declaration

    Swift

    init(_ signedPrivateKey: SignedPrivateKey) throws
  • Undocumented

    Declaration

    Swift

    static func generate() throws -> PrivateKey