SILC_ASN1_SEQUENCE

SYNOPSIS

    Encoding:
    SILC_ASN1_SEQUENCE
    SILC_ASN1_SEQUENCE_T(opts, tag)

    Decoding:
    SILC_ASN1_SEQUENCE
    SILC_ASN1_SEQUENCE_T(opts, tag)

DESCRIPTION

Macro used to encode or decode sequence. The sequence must be terminated with SILC_ASN1_END.

The `opts' is SilcAsn1Options. The `tag' is a tag number.

EXAMPLE

    silc_asn1_encode(asn1, tree,
                     SILC_ASN1_SEQUENCE,
                       SILC_ASN1_ANY(node),
                       SILC_ASN1_BOOLEAN(boolval),
                     SILC_ASN1_END, SILC_ASN1_END);

    silc_asn1_encode(asn1, tree2,
                     SILC_ASN1_SEQUENCE_T(SILC_ASN1_PRIVATE, 101),
                       SILC_ASN1_ANY(node),
                       SILC_ASN1_BOOLEAN(boolval),
                     SILC_ASN1_END, SILC_ASN1_END);