import { types } from "binary-data" ; const { uint16be , uint24be , buffer , array , uint8 , string } = types ; const Extension = { type : uint16be , data : buffer ( uint16be ) , } ; export const ExtensionList = array ( Extension , uint16be , "bytes" ) ; export const ASN11Cert = buffer ( uint24be ) ; export const ClientCertificateType = uint8 ; export const DistinguishedName = string ( uint16be ) ; export const SignatureHashAlgorithm = { hash : uint8 , signature : uint8 } ; export const ProtocolVersion = { major : uint8 , minor : uint8 } ;