Exemplo n.º 1
0
 /// <summary>
 /// Decode the SPNG payload from the message bytes.
 /// Should be overridden in the inheriting classes
 /// </summary>
 /// <param name="buffer">The byte array to be decoded.</param>
 public override void FromBytes(byte[] buffer)
 {
     this.Asn1Token = SpngUtility.DecodeAsn1 <InitialNegToken2>(buffer);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Decode the SPNG payload from the message bytes.
 /// Should be overridden in the inheriting classes
 /// </summary>
 /// <param name="buffer">The byte array to be decoded.</param>
 public override void FromBytes(byte[] buffer)
 {
     this.Asn1Token = SpngUtility.DecodeAsn1 <NegotiationToken>(buffer);
 }