SwiftstructCryptoKit
struct CryptoKit.P521.KeyAgreement.PrivateKey
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCryptoKit.ECPrivateKey
- protocolCryptoKit.NISTECPrivateKey
Members 18
- field
let impl: CryptoKit.CoreCryptoNISTCurvePrivateKeyImpl<CryptoKit.P521>+0x0 - func
keyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P521.KeyAgreement.PrivateKey - func
sharedSecretFromKeyAgreement(with: CryptoKit.P521.KeyAgreement.PublicKey) throws -> CryptoKit.SharedSecret - init
init<A where A: RandomAccessCollection, A.Element == UInt8>(derRepresentation: A) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init(pemRepresentation: String) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init<A where A: Foundation.ContiguousBytes>(rawRepresentation: A) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init<A where A: Foundation.ContiguousBytes>(x963Representation: A) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init(compactRepresentable: Bool) -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init(ikm: CryptoKit.SymmetricKey) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init(seed: Foundation.Data, compactRepresentable: Bool) throws -> CryptoKit.P521.KeyAgreement.PrivateKey - init
init() -> CryptoKit.P521.KeyAgreement.PrivateKey - typealias
typealias PK = CryptoKit.P521.KeyAgreement.PublicKey - typealias
typealias PublicKey = CryptoKit.P521.KeyAgreement.PublicKey - var
var derRepresentation: Foundation.Data { get } - var
var pemRepresentation: String { get } - var
var publicKey: CryptoKit.P521.KeyAgreement.PublicKey { get } - var
var rawRepresentation: Foundation.Data { get } - var
var x963Representation: Foundation.Data { get }
Header
struct CryptoKit.P521.KeyAgreement.PrivateKey { let impl: CryptoKit.CoreCryptoNISTCurvePrivateKeyImpl<CryptoKit.P521> 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(compactRepresentable: Swift.Bool) init(ikm: CryptoKit.SymmetricKey) throws init(seed: Foundation.Data, compactRepresentable: Swift.Bool) throws init() var derRepresentation: Foundation.Data { get } var pemRepresentation: Swift.String { get } var publicKey: CryptoKit.P521.KeyAgreement.PublicKey { get } var rawRepresentation: Foundation.Data { get } var x963Representation: Foundation.Data { get } func sharedSecretFromKeyAgreement(with: CryptoKit.P521.KeyAgreement.PublicKey) throws -> CryptoKit.SharedSecret func keyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P521.KeyAgreement.PrivateKey }