SwiftstructCryptoKit
struct CryptoKit.P384.KeyAgreement.PublicKey
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCryptoKit.ECPublicKey
- protocolCryptoKit.NISTECPublicKey
Members 17
- field
var impl: CryptoKit.CoreCryptoNISTCurvePublicKeyImpl<CryptoKit.P384>+0x0 - func
hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data - func
keyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: RandomAccessCollection, A.Element == UInt8>(derRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init(pemRepresentation: String) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: Foundation.ContiguousBytes>(rawRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: Foundation.ContiguousBytes>(x963Representation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: Foundation.ContiguousBytes>(compactRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: Foundation.ContiguousBytes>(compressedRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey - init
init<A where A: Foundation.ContiguousBytes>(_: A, kem: CryptoKit.HPKE.KEM) throws -> CryptoKit.P384.KeyAgreement.PublicKey - typealias
typealias EphemeralPrivateKey = CryptoKit.P384.KeyAgreement.PrivateKey - var
var compactRepresentation: Foundation.Data? { get } - var
var compressedRepresentation: Foundation.Data { get } - var
var derRepresentation: Foundation.Data { get } - var
var pemRepresentation: String { get } - var
var rawRepresentation: Foundation.Data { get } - var
var x963Representation: Foundation.Data { get }
Header
struct CryptoKit.P384.KeyAgreement.PublicKey { var impl: CryptoKit.CoreCryptoNISTCurvePublicKeyImpl<CryptoKit.P384> init<A>(derRepresentation: A) throws where A: Swift.RandomAccessCollection, A.Element == Swift.UInt8 init(pemRepresentation: Swift.String) throws init<A>(rawRepresentation: A) throws where A: Foundation.ContiguousBytes init<A>(x963Representation: A) throws where A: Foundation.ContiguousBytes init<A>(compactRepresentation: A) throws where A: Foundation.ContiguousBytes init<A>(compressedRepresentation: A) throws where A: Foundation.ContiguousBytes init<A>(_: A, kem: CryptoKit.HPKE.KEM) throws where A: Foundation.ContiguousBytes var compactRepresentation: Foundation.Data? { get } var compressedRepresentation: Foundation.Data { get } var derRepresentation: Foundation.Data { get } var pemRepresentation: Swift.String { get } var rawRepresentation: Foundation.Data { get } var x963Representation: Foundation.Data { get } func hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data func keyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P384.KeyAgreement.PublicKey }