public void WriteNullTest() { DerData target = new DerData(); // TODO: Initialize to an appropriate value target.WriteNull(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
/// <summary> /// Encodes hash using DER. /// </summary> /// <param name="hashData">The hash data.</param> /// <returns>DER Encoded byte array</returns> protected byte[] DerEncode(byte[] hashData) { var alg = new DerData(); alg.Write(_oid); alg.WriteNull(); var data = new DerData(); data.Write(alg); data.Write(hashData); return(data.Encode()); }