/// <summary> /// Encode ASN.1 class members to specified buffer. /// /// NB Assinine ASN.1 DER encoding rules requires members be added in reverse order. /// </summary> /// <param name="Buffer">Output buffer</param> public override void Encode (Goedel.ASN1.Buffer Buffer) { Buffer.Encode__IA5String (DNSName, 12, 2); Buffer.Encode__IA5String (RFC822Name, 12, 1); }
/// <summary> /// Encode ASN.1 class members to specified buffer. /// /// NB Assinine ASN.1 DER encoding rules requires members be added in reverse order. /// </summary> /// <param name="Buffer">Output buffer</param> public override void Encode (Goedel.ASN1.Buffer Buffer) { // Do Choice // Buffer.Encode__IA5String (IA5String, 4, -1); // Buffer.Encode__BMPString (BMPString, 4, -1); // Buffer.Encode__UTF8String (UTF8String, 4, -1); // Buffer.Encode__PrintableString (PrintableString, 4, -1); }