AlgorithmType

public struct AlgorithmType : OptionSet
extension ProvisioningDataUnitCapabilities.AlgorithmType: Encodable

Algorithms

  • Declaration

    Swift

    public let rawValue: UInt16
  • Declaration

    Swift

    public init(rawValue: UInt16)
  • FIPS P-256 Elliptic Curve Supported

    Declaration

    Swift

    public static let fipsP256: ProvisioningDataUnitCapabilities.AlgorithmType
  • Encodes this value into the given encoder.

    If the value fails to encode anything, encoder will encode an empty keyed container in its place.

    This function throws an error if any values are invalid for the given encoder’s format.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    The encoder to write data to.