public static long ReadInt64(this AsnReader reader, Asn1Tag tag) { if (reader.TryReadInt64(tag, out long value)) { return(value); } throw new CryptographicException(SR.Cryptography_Der_Invalid_Encoding); }