SwiftstructCryptoKit

struct CryptoKit.P384.KeyAgreement.PublicKey

Structure

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

Members 17

  1. fieldvar impl: CryptoKit.CoreCryptoNISTCurvePublicKeyImpl<CryptoKit.P384>+0x0
  2. funchpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data
  3. funckeyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P384.KeyAgreement.PublicKey
  4. initinit<A where A: RandomAccessCollection, A.Element == UInt8>(derRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  5. initinit(pemRepresentation: String) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  6. initinit<A where A: Foundation.ContiguousBytes>(rawRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  7. initinit<A where A: Foundation.ContiguousBytes>(x963Representation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  8. initinit<A where A: Foundation.ContiguousBytes>(compactRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  9. initinit<A where A: Foundation.ContiguousBytes>(compressedRepresentation: A) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  10. initinit<A where A: Foundation.ContiguousBytes>(_: A, kem: CryptoKit.HPKE.KEM) throws -> CryptoKit.P384.KeyAgreement.PublicKey
  11. typealiastypealias EphemeralPrivateKey = CryptoKit.P384.KeyAgreement.PrivateKey
  12. varvar compactRepresentation: Foundation.Data? { get }
  13. varvar compressedRepresentation: Foundation.Data { get }
  14. varvar derRepresentation: Foundation.Data { get }
  15. varvar pemRepresentation: String { get }
  16. varvar rawRepresentation: Foundation.Data { get }
  17. varvar x963Representation: Foundation.Data { get }
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
}