Versions in this module Expand all Collapse all v1 v1.1.0 Feb 12, 2020 Changes in this version + const DNSNameTag + const GTLDPeriodDateFormat + var AiaOID = asn1.ObjectIdentifier + var AnyPolicyOID = asn1.ObjectIdentifier + var AppleCTPolicyDate = time.Date(2018, time.October, 15, 0, 0, 0, 0, time.UTC) + var AuthkeyOID = asn1.ObjectIdentifier + var BRDomainValidatedOID = asn1.ObjectIdentifier + var BRIndividualValidatedOID = asn1.ObjectIdentifier + var BROrganizationValidatedOID = asn1.ObjectIdentifier + var BRTorServiceDescriptor = asn1.ObjectIdentifier + var BasicConstOID = asn1.ObjectIdentifier + var BusinessOID = asn1.ObjectIdentifier + var CABEffectiveDate = time.Date(2012, time.July, 1, 0, 0, 0, 0, time.UTC) + var CABGivenNameDate = time.Date(2016, time.September, 7, 0, 0, 0, 0, time.UTC) + var CABReservedIPDate = time.Date(2016, time.October, 1, 0, 0, 0, 0, time.UTC) + var CABSerialNumberEntropyDate = time.Date(2016, time.September, 30, 0, 0, 0, 0, time.UTC) + var CABV102Date = time.Date(2012, time.June, 8, 0, 0, 0, 0, time.UTC) + var CABV113Date = time.Date(2013, time.February, 21, 0, 0, 0, 0, time.UTC) + var CABV114Date = time.Date(2013, time.May, 3, 0, 0, 0, 0, time.UTC) + var CABV116Date = time.Date(2013, time.July, 29, 0, 0, 0, 0, time.UTC) + var CABV130Date = time.Date(2015, time.April, 16, 0, 0, 0, 0, time.UTC) + var CABV131Date = time.Date(2015, time.September, 28, 0, 0, 0, 0, time.UTC) + var CABV148Date = time.Date(2017, time.June, 8, 0, 0, 0, 0, time.UTC) + var CABV201Date = time.Date(2017, time.July, 28, 0, 0, 0, 0, time.UTC) + var CertPolicyOID = asn1.ObjectIdentifier + var CommonNameOID = asn1.ObjectIdentifier + var CountryNameOID = asn1.ObjectIdentifier + var CpsOID = asn1.ObjectIdentifier + var CrlDistOID = asn1.ObjectIdentifier + var CtPoisonOID = asn1.ObjectIdentifier + var EkuSynOid = asn1.ObjectIdentifier + var EtsiEn319_412_5_V2_2_1_Date = time.Date(2017, time.November, 1, 0, 0, 0, 0, time.UTC) + var FreshCRLOID = asn1.ObjectIdentifier + var GeneralizedDate = time.Date(2050, time.January, 1, 0, 0, 0, 0, time.UTC) + var GivenNameOID = asn1.ObjectIdentifier + var IdEtsiQcsQcCompliance = asn1.ObjectIdentifier + var IdEtsiQcsQcEuPDS = asn1.ObjectIdentifier + var IdEtsiQcsQcLimitValue = asn1.ObjectIdentifier + var IdEtsiQcsQcRetentionPeriod = asn1.ObjectIdentifier + var IdEtsiQcsQcSSCD = asn1.ObjectIdentifier + var IdEtsiQcsQcType = asn1.ObjectIdentifier + var IdEtsiQcsQctEseal = asn1.ObjectIdentifier + var IdEtsiQcsQctEsign = asn1.ObjectIdentifier + var IdEtsiQcsQctWeb = asn1.ObjectIdentifier + var InhibitAnyPolicyOID = asn1.ObjectIdentifier + var IssuerAlternateNameOID = asn1.ObjectIdentifier + var KeyUsageOID = asn1.ObjectIdentifier + var KeyUsageToString = map[x509.KeyUsage]string + var LocalityNameOID = asn1.ObjectIdentifier + var LogoTypeOID = asn1.ObjectIdentifier + var NO_SHA1 = time.Date(2016, time.January, 1, 0, 0, 0, 0, time.UTC) + var NameConstOID = asn1.ObjectIdentifier + var NoRSA1024Date = time.Date(2014, time.January, 1, 0, 0, 0, 0, time.UTC) + var NoRSA1024RootDate = time.Date(2011, time.January, 1, 0, 0, 0, 0, time.UTC) + var NoReservedIP = time.Date(2015, time.November, 1, 0, 0, 0, 0, time.UTC) + var OidMD2WithRSAEncryption = asn1.ObjectIdentifier + var OidMD5WithRSAEncryption = asn1.ObjectIdentifier + var OidRSAEncryption = asn1.ObjectIdentifier + var OidRSASSAPSS = asn1.ObjectIdentifier + var OidSHA1WithRSAEncryption = asn1.ObjectIdentifier + var OidSHA224WithRSAEncryption = asn1.ObjectIdentifier + var OidSHA256WithRSAEncryption = asn1.ObjectIdentifier + var OidSHA384WithRSAEncryption = asn1.ObjectIdentifier + var OidSHA512WithRSAEncryption = asn1.ObjectIdentifier + var OnionOnlyEVDate = time.Date(2015, time.May, 1, 0, 0, 0, 0, time.UTC) + var OrganizationNameOID = asn1.ObjectIdentifier + var OrganizationalUnitNameOID = asn1.ObjectIdentifier + var OscpNoCheckOID = asn1.ObjectIdentifier + var PolicyConstOID = asn1.ObjectIdentifier + var PolicyMapOID = asn1.ObjectIdentifier + var PostalCodeOID = asn1.ObjectIdentifier + var PrivKeyUsageOID = asn1.ObjectIdentifier + var QcStateOid = asn1.ObjectIdentifier + var RFC1035Date = time.Date(1987, time.January, 1, 0, 0, 0, 0, time.UTC) + var RFC2459Date = time.Date(1999, time.January, 1, 0, 0, 0, 0, time.UTC) + var RFC3280Date = time.Date(2002, time.April, 1, 0, 0, 0, 0, time.UTC) + var RFC3490Date = time.Date(2003, time.March, 1, 0, 0, 0, 0, time.UTC) + var RFC4325Date = time.Date(2005, time.December, 1, 0, 0, 0, 0, time.UTC) + var RFC4630Date = time.Date(2006, time.August, 1, 0, 0, 0, 0, time.UTC) + var RFC5280Date = time.Date(2008, time.May, 1, 0, 0, 0, 0, time.UTC) + var RFC6818Date = time.Date(2013, time.January, 1, 0, 0, 0, 0, time.UTC) + var RFC8399Date = time.Date(2018, time.May, 1, 0, 0, 0, 0, time.UTC) + var RSAAlgorithmIDToDER = map[string][]byte + var SHA256OID = asn1.ObjectIdentifier + var SHA384OID = asn1.ObjectIdentifier + var SHA512OID = asn1.ObjectIdentifier + var SerialOID = asn1.ObjectIdentifier + var SmimeOID = asn1.ObjectIdentifier + var StateOrProvinceNameOID = asn1.ObjectIdentifier + var StreetAddressOID = asn1.ObjectIdentifier + var SubCert39Month = time.Date(2016, time.July, 2, 0, 0, 0, 0, time.UTC) + var SubCert825Days = time.Date(2018, time.March, 2, 0, 0, 0, 0, time.UTC) + var SubjectAlternateNameOID = asn1.ObjectIdentifier + var SubjectDirAttrOID = asn1.ObjectIdentifier + var SubjectInfoAccessOID = asn1.ObjectIdentifier + var SubjectKeyIdentityOID = asn1.ObjectIdentifier + var SurnameOID = asn1.ObjectIdentifier + var TimestampOID = asn1.ObjectIdentifier + var UserNoticeOID = asn1.ObjectIdentifier + var ZeroDate = time.Date(0000, time.January, 1, 0, 0, 0, 0, time.UTC) + func AllAlternateNameWithTagAreIA5(ext *pkix.Extension, tag int) (bool, error) + func AppendToStringSemicolonDelim(this *string, s string) + func AuthIsFQDNOrIP(auth string) bool + func CertificateSubjInTLD(c *x509.Certificate, label string) bool + func CheckAlgorithmIDParamNotNULL(algorithmIdentifier []byte, requiredAlgoID asn1.ObjectIdentifier) error + func CheckRDNSequenceWhiteSpace(raw []byte) (leading, trailing bool, err error) + func CommonNameIsIP(cert *x509.Certificate) bool + func DNSNamesExist(cert *x509.Certificate) bool + func FindTimeType(firstDate, secondDate asn1.RawValue) (int, int) + func GetAuthority(uri string) string + func GetExtFromCert(cert *x509.Certificate, oid asn1.ObjectIdentifier) *pkix.Extension + func GetHost(auth string) string + func GetMappedPolicies(polMap *pkix.Extension) (out [][2]asn1.ObjectIdentifier, err error) + func GetTimes(cert *x509.Certificate) (asn1.RawValue, asn1.RawValue) + func HasValidTLD(domain string, when time.Time) bool + func ICANNPublicSuffixParse(domain string) (*publicsuffix.DomainName, error) + func IsAnyEtsiQcStatementPresent(extVal []byte) bool + func IsCACert(c *x509.Certificate) bool + func IsEV(in []asn1.ObjectIdentifier) bool + func IsEmptyASN1Sequence(input []byte) bool + func IsExtInCert(cert *x509.Certificate, oid asn1.ObjectIdentifier) bool + func IsFQDN(domain string) bool + func IsFQDNOrIP(host string) bool + func IsIA5String(raw []byte) bool + func IsIANAReserved(ip net.IP) bool + func IsISOCountryCode(in string) bool + func IsInPrefSyn(name string) bool + func IsInTLDMap(label string) bool + func IsNameAttribute(oid asn1.ObjectIdentifier) bool + func IsRootCA(c *x509.Certificate) bool + func IsSelfSigned(c *x509.Certificate) bool + func IsServerAuthCert(cert *x509.Certificate) bool + func IsSubCA(c *x509.Certificate) bool + func IsSubscriberCert(c *x509.Certificate) bool + func NotAllNameFieldsAreEmpty(name *pkix.Name) bool + func ParseBMPString(bmpString []byte) (string, error) + func PrimeNoSmallerThan752(dividend *big.Int) bool + func RemovePrependedQuestionMarks(domain string) string + func RemovePrependedWildcard(domain string) string + func SliceContainsOID(list []asn1.ObjectIdentifier, oid asn1.ObjectIdentifier) bool + func TypeInName(name *pkix.Name, oid asn1.ObjectIdentifier) bool + type AttributeTypeAndRawValue struct + Type asn1.ObjectIdentifier + Value asn1.RawValue + type AttributeTypeAndRawValueSET []AttributeTypeAndRawValue + type Etsi421QualEuCert struct + func (this Etsi421QualEuCert) GetErrorInfo() string + func (this Etsi421QualEuCert) IsPresent() bool + type Etsi423QcType struct + TypeOids []asn1.ObjectIdentifier + func (this Etsi423QcType) GetErrorInfo() string + func (this Etsi423QcType) IsPresent() bool + type EtsiMonetaryValueAlph struct + Amount int + Exponent int + Iso4217CurrencyCodeAlph string + type EtsiMonetaryValueNum struct + Amount int + Exponent int + Iso4217CurrencyCodeNum int + type EtsiQcLimitValue struct + Amount int + CurrencyAlph string + CurrencyNum int + Exponent int + IsNum bool + func (this EtsiQcLimitValue) GetErrorInfo() string + func (this EtsiQcLimitValue) IsPresent() bool + type EtsiQcPds struct + PdsLocations []PdsLocation + func (this EtsiQcPds) GetErrorInfo() string + func (this EtsiQcPds) IsPresent() bool + type EtsiQcRetentionPeriod struct + Period int + func (this EtsiQcRetentionPeriod) GetErrorInfo() string + func (this EtsiQcRetentionPeriod) IsPresent() bool + type EtsiQcSscd struct + func (this EtsiQcSscd) GetErrorInfo() string + func (this EtsiQcSscd) IsPresent() bool + type EtsiQcStmtIf interface + GetErrorInfo func() string + IsPresent func() bool + func ParseQcStatem(extVal []byte, sought asn1.ObjectIdentifier) EtsiQcStmtIf + type GTLDPeriod struct + DelegationDate string + GTLD string + RemovalDate string + func (p GTLDPeriod) Valid(when time.Time) error + type PdsLocation struct + Language string + Url string + type RawRDNSequence []AttributeTypeAndRawValueSET Other modules containing this package github.com/cpu/ylint/v2