Sequence

extension Sequence where Element == ASN1EncodableType

Available where Element == ASN1EncodableType

  • ASN.1 encoding of a sequence using the given tag (optional)

    Throws

    when items in the sequence couldn’t be ASN.1 encoded

    Declaration

    Swift

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

    Parameters

    tag

    the encapsulating tag (default: .universal(.sequence))

    Return Value

    the ASN.1 encoded object