Documentation ¶
Index ¶
Constants ¶
View Source
const RSAKeySize = 2048
View Source
const TokenHeader = "Connector-Token"
Variables ¶
This section is empty.
Functions ¶
func DecodeCertChain ¶
func DecodeCertChain(certificateChain string) ([]*x509.Certificate, error)
Types ¶
type CertificateSigningRequestInfo ¶
type CertificateSigningRequestInfo struct { Subject string `json:"subject"` KeyAlgorithm string `json:"keyAlgorithm"` }
copy of connector types, to get rid of dependency to connector
type CertificationResponse ¶
type CertificationResponse struct {
Result CertificationResult `json:"result"`
}
type CertificationResult ¶
type Configuration ¶
type Configuration struct { Token *Token `json:"token"` CertificateSigningRequestInfo *CertificateSigningRequestInfo `json:"certificateSigningRequestInfo"` ManagementPlaneInfo *ManagementPlaneInfo `json:"managementPlaneInfo"` }
type ConfigurationResponse ¶
type ConfigurationResponse struct {
Result Configuration `json:"result"`
}
type ManagementPlaneInfo ¶
Click to show internal directories.
Click to hide internal directories.