SwiftenumCryptoKit

enum CryptoKit.Curve25519.Signing
enum CryptoKit.Curve25519.Signing {
    struct PrivateKey {
        var baseKey: CryptoKit.Curve25519.Signing.CoreCryptoCurve25519PrivateKeyImpl

        init<A>(rawRepresentation: A) throws where A: Foundation.ContiguousBytes
        init()

        var publicKey: CryptoKit.Curve25519.Signing.PublicKey {
            get
        }
        var rawRepresentation: Foundation.Data {
            get
        }

        func signature<A>(for: A) throws -> Foundation.Data where A: Foundation.DataProtocol
    }
    struct PublicKey {
        var baseKey: CryptoKit.Curve25519.Signing.CoreCryptoCurve25519PublicKeyImpl

        init<A>(rawRepresentation: A) throws where A: Foundation.ContiguousBytes

        var rawRepresentation: Foundation.Data {
            get
        }

        func isValidSignature<A, B>(_: A, for: B) -> Swift.Bool where A: Foundation.DataProtocol, B: Foundation.DataProtocol
    }
    struct CoreCryptoCurve25519PublicKeyImpl {
        var keyBytes: [Swift.UInt8]
    }
    struct CoreCryptoCurve25519PrivateKeyImpl {
        var key: CryptoKit.SecureBytes
    }
}