public static ulong ReadUInt64(this AsnReader reader, Asn1Tag tag) { if (reader.TryReadUInt64(tag, out ulong value)) { return(value); } throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); }