Documentation
¶
Index ¶
Constants ¶
View Source
const OrganizationName = "Česká republika - Generální finanční ředitelství"
OrganizationName is the legal name that the organization is registered with authority at the national level.
View Source
const PlaygroundURL = "https://pg.eet.cz/eet/services/EETServiceSOAP/v3"
PlaygroundURL is the URL of the playground EET system.
View Source
const ProductionURL = "https://prod.eet.cz/eet/services/EETServiceSOAP/v3"
ProductionURL is the URL of the production EET system.
Variables ¶
View Source
var ErrInsecureCertificate = errors.New("certificate signed by an unknown authority")
ErrInsecureCertificate is returned if a certificate is signed by an unknown authority and can't be verified.
View Source
var ErrInvalidOrganizationName = errors.New("invalid organization name")
ErrInvalidOrganizationName is returned if the organization name is invalid.
Functions ¶
This section is empty.
Types ¶
type EETCAService ¶
type EETCAService interface {
Verify(crt *x509.Certificate) error
}
EETCAService verifies certificates signed off by the CA.
func NewEETCAService ¶
func NewEETCAService(pool *x509.CertPool) EETCAService
NewEETCAService returns a EETCAService implementation with the given certification pool.
Click to show internal directories.
Click to hide internal directories.