SwiftstructCryptoKit

struct CryptoKit.MLKEM1024.OneTimePrivateKey

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 6

  1. funcstatic generate() throws -> CryptoKit.MLKEM1024.OneTimePrivateKey
  2. fieldlet impl: CryptoKit.CoreCryptoMLKEMOneTimePrivateKeyImpl<CryptoKit.MLKEM1024>
  3. funcdecapsulate<A where A: Foundation.DataProtocol>(A) throws -> CryptoKit.SymmetricKey
  4. initinit() throws -> CryptoKit.MLKEM1024.OneTimePrivateKey
  5. typealiastypealias PublicKey = CryptoKit.MLKEM1024.PublicKey
  6. varvar publicKey: CryptoKit.MLKEM1024.PublicKey { get }
struct CryptoKit.MLKEM1024.OneTimePrivateKey: ~Swift.Copyable {
    let impl: CryptoKit.CoreCryptoMLKEMOneTimePrivateKeyImpl<CryptoKit.MLKEM1024>

    init() throws

    var publicKey: CryptoKit.MLKEM1024.PublicKey {
        get
    }

    func decapsulate<A>(_: A) throws -> CryptoKit.SymmetricKey where A: Foundation.DataProtocol

    static func generate() throws -> CryptoKit.MLKEM1024.OneTimePrivateKey
}