Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct { // Root Certificate Certificate *x509.Certificate // contains filtered or unexported fields }
CA represents a Certificate Authority for testing
type Server ¶
type Server struct { // Host is the hostname with an optional port number. Host string // contains filtered or unexported fields }
Server is a mock CCP WebService implementation for testing purposes
func (*Server) ClientCertificate ¶
ClientCertificate creates a new test client certificate
func (*Server) Close ¶
func (s *Server) Close()
Close shuts down the server and blocks until all outstanding requests on this server have completed.
func (*Server) ServerRootCA ¶
ServerRootCA returns the server's (root) Certificate
Click to show internal directories.
Click to hide internal directories.