ASN1Decoder

public class ASN1Decoder

ASN.1 (DER) Decoder implementation according to the X.690-0207 (Abstract Syntax Notation One) specification.

For more info, please find the complete X.690-0207.pdf specification.

  • Decode a Data octet byte-stream to an ASN.1 Object

    See also

    ASN1Object

    Declaration

    Swift

    public class func decode(asn1 data: Data) throws -> ASN1Object

    Parameters

    data

    The input data to parse according to the ASN.1 specification

    Return Value

    ASN1Object or nil when parsing failed.