SwiftstructCryptoKit

struct CryptoKit.P521.Signing.PublicKey

Structure

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

Members 18

  1. fieldvar impl: CryptoKit.CoreCryptoNISTCurvePublicKeyImpl<CryptoKit.P521>+0x0
  2. funcisValidSignature<A where A: Foundation.DataProtocol>(_: CryptoKit.P521.Signing.ECDSASignature, for: A) -> Bool
  3. funcisValidSignature<A where A: CryptoKit.Digest>(_: CryptoKit.P521.Signing.ECDSASignature, for: A) -> Bool
  4. funckeyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P521.Signing.PublicKey
  5. initinit<A where A: RandomAccessCollection, A.Element == UInt8>(derRepresentation: A) throws -> CryptoKit.P521.Signing.PublicKey
  6. initinit(pemRepresentation: String) throws -> CryptoKit.P521.Signing.PublicKey
  7. initinit<A where A: Foundation.ContiguousBytes>(rawRepresentation: A) throws -> CryptoKit.P521.Signing.PublicKey
  8. initinit<A where A: Foundation.ContiguousBytes>(x963Representation: A) throws -> CryptoKit.P521.Signing.PublicKey
  9. initinit<A where A: Foundation.ContiguousBytes>(compactRepresentation: A) throws -> CryptoKit.P521.Signing.PublicKey
  10. initinit<A where A: Foundation.ContiguousBytes>(compressedRepresentation: A) throws -> CryptoKit.P521.Signing.PublicKey
  11. typealiastypealias Signature = CryptoKit.P521.Signing.ECDSASignature
  12. typealiastypealias Signature = CryptoKit.P521.Signing.ECDSASignature
  13. varvar compactRepresentation: Foundation.Data? { get }
  14. varvar compressedRepresentation: Foundation.Data { get }
  15. varvar derRepresentation: Foundation.Data { get }
  16. varvar pemRepresentation: String { get }
  17. varvar rawRepresentation: Foundation.Data { get }
  18. varvar x963Representation: Foundation.Data { get }
struct CryptoKit.P521.Signing.PublicKey {
    var impl: CryptoKit.CoreCryptoNISTCurvePublicKeyImpl<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<A>(compactRepresentation: A) throws where A: Foundation.ContiguousBytes
    init<A>(compressedRepresentation: A) 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 isValidSignature<A>(_: CryptoKit.P521.Signing.ECDSASignature, for: A) -> Swift.Bool where A: Foundation.DataProtocol
    func isValidSignature<A>(_: CryptoKit.P521.Signing.ECDSASignature, for: A) -> Swift.Bool where A: CryptoKit.Digest
    func keyFromDiversification(with: Foundation.Data, seedExtractionLabel: Foundation.Data) -> CryptoKit.P521.Signing.PublicKey
}