public static ushort ReadUInt16(this AsnReader reader, Asn1Tag tag)
 {
     if (reader.TryReadUInt16(tag, out ushort value))
     {
         return(value);
     }
     throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding);
 }