responses

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertSignature

type CertSignature struct {
	Signature          string `json:"signature"`
	SignatureAlgorithm string `json:"signature_algorithm"`
}

type Error

type Error struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

type Extensions

type Extensions struct {
	CertificatePolicies    []string          `json:"certificate_policies"`
	ExtendedKeyUsage       []string          `json:"extended_key_usage"`
	AuthorityKeyIdentifier map[string]string `json:"authority_key_identifier"`
	SubjectAlternativeName []string          `json:"subject_alternative_name"`
	Tags                   []string          `json:"tags"`
	SubjectKeyIdentifier   string            `json:"subject_key_identifier"`
	CrlDistributionPoint   []string          `json:"crl_distribution_point"`
	KeyUsage               []string          `json:"key_usage"`
	Ca                     bool              `json:"ca"`
	CaInformationAccess    map[string]string `json:"ca_information_access"`
}

type KeyType

type KeyType struct {
	KeySize  int    `json:"key_size"`
	Modulus  string `json:"modulus"`
	Exponent string `json:"exponent"`
}

type LastAnalysisResults

type LastAnalysisResults struct {
	Category   string `json:"category"`
	Result     string `json:"result"`
	Method     string `json:"method"`
	EngineName string `json:"engine_name"`
}

type LastAnalysisStats

type LastAnalysisStats struct {
	Harmless         int `json:"harmless"`
	Malicious        int `json:"malicious"`
	Suspicious       int `json:"suspicious"`
	Undetected       int `json:"undetected"`
	Timeout          int `json:"timeout"`
	TypeUnsupported  int `json:"type-unsupported"`
	ConfirmedTimeout int `json:"confirmed-timeout"`
	Failure          int `json:"failure"`
}

type LastHttpsCertificate

type LastHttpsCertificate struct {
	Size               int               `json:"size"`
	PublicKey          PublicKey         `json:"public_key"`
	ThumbPrintSha256   string            `json:"thumb_print_sha_256"`
	Tags               []string          `json:"tags"`
	CertSignature      CertSignature     `json:"cert_signature"`
	Validity           Validity          `json:"validity"`
	Version            string            `json:"version"`
	Extensions         Extensions        `json:"extensions"`
	SignatureAlgorithm string            `json:"signature_algorithm"`
	SerialNumber       string            `json:"serial_number"`
	Thumbprint         string            `json:"thumbprint"`
	Issuer             map[string]string `json:"issuer"`
	Subject            map[string]string `json:"subject"`
}
type Links struct {
	Self string `json:"self"`
}

type PublicKey

type PublicKey struct {
	Keys      map[string]KeyType `json:"keys"`
	Algorithm string             `json:"algorithm"`
}

type TotalVotes

type TotalVotes struct {
	LastAnalysisResults
}

type Validity

type Validity struct {
	NotAfter  string `json:"not_after"`
	NotBefore string `json:"not_before"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL