SwiftstructCryptoKit
OneTimePrivateKey
struct CryptoKit.MLKEM1024.OneTimePrivateKey
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCryptoKit.KEMOneTimePrivateKey
Members 6
- func
static generate() throws -> CryptoKit.MLKEM1024.OneTimePrivateKey - field
let impl: CryptoKit.CoreCryptoMLKEMOneTimePrivateKeyImpl<CryptoKit.MLKEM1024> - func
decapsulate<A where A: Foundation.DataProtocol>(A) throws -> CryptoKit.SymmetricKey - init
init() throws -> CryptoKit.MLKEM1024.OneTimePrivateKey - typealias
typealias PublicKey = CryptoKit.MLKEM1024.PublicKey - var
var publicKey: CryptoKit.MLKEM1024.PublicKey { get }
Header
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 }