public static AsnAttributes Decode(byte[] source, ref int pos) { AsnAttributes instance = new AsnAttributes(); // TODO: do this. return(instance); }
public static AsnCertificationRequestInfo Decode(byte[] source, ref int pos) { AsnCertificationRequestInfo instance = new AsnCertificationRequestInfo(); //CheckContextTag(source, ref pos); pos++; // get the sequence length long len = instance.GetLength(source, ref pos); instance.elements.Add(AsnInteger.Decode(source, ref pos)); instance.elements.Add(AsnName.Decode(source, ref pos)); instance.elements.Add(AsnPublicKeyInfo.Decode(source, ref pos)); instance.elements.Add(AsnAttributes.Decode(source, ref pos)); return(instance); }