packagelibp2ptls// TODO: get an assigment for a valid OIDvarextensionPrefix=[]int{1,3,6,1,4,1,123456789}// getPrefixedExtensionID returns an Object Identifier// that can be used in x509 Certificates.funcgetPrefixedExtensionID(suffix[]int)[]int{returnappend(extensionPrefix,suffix...)}// extensionIDEqual compares two extension IDs.funcextensionIDEqual(a,b[]int)bool{iflen(a)!=len(b){returnfalse}fori:=rangea{ifa[i]!=b[i]{returnfalse}}returntrue}