CodingKeys

public enum CodingKeys : String, CodingKey

The list of keys used for encoding and decoding a policy.

  • The key that defines the policy case. See NevisServerPinningPolicy.RawValues for the list of available raw values.

    Declaration

    Swift

    case policy
  • The key that defines the list of certificate’s SPKI hashes to be used with the pinCertificates policy.

    Declaration

    Swift

    case certificateSPKIHashes