ASN1Int

public struct ASN1Int
extension ASN1Int: ASN1CodableType

ANS.1 Integer representation

  • Declaration

    Swift

    public var intValue: Int? { get }

    Return Value

    Swift.Int when possible (e.g. fits in the range [Int.min-Int.max])

  • Declaration

    Swift

    public var rawInt: Data { get }

    Return Value

    The ASN.1 encoded Int value

  • Declaration

    Swift

    public init(from asn1: ASN1Object) throws
  • Declaration

    Swift

    public func asn1encode(tag: ASN1DecodedTag?) throws -> ASN1Object