Skip to content

Ed25519Authenticator

MarcoDotIO edited this page Jul 6, 2023 · 2 revisions

Ed25519Authenticator

public struct Ed25519Authenticator: AuthenticatorProtocol 

Inheritance

AuthenticatorProtocol

Initializers

init(publicKey:signature:)

public init(publicKey: PublicKey, signature: Signature) 

Properties

publicKey

public let publicKey: PublicKey

signature

public let signature: Signature

Methods

verify(_:)

public func verify(_ data: Data) throws -> Bool 

deserialize(from:)

public static func deserialize(from deserializer: Deserializer) throws -> Ed25519Authenticator 

serialize(_:)

public func serialize(_ serializer: Serializer) throws 

isEqualTo(_:_:)

public func isEqualTo(_ rhs: any AuthenticatorProtocol) -> Bool 
Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally