Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCertSubject ¶
FormatCertSubject converts the specified certificate name field into a string which can be presented to the user.
Types ¶
type X509KeyDB ¶
type X509KeyDB struct {
// contains filtered or unexported fields
}
X509KeyDB retrieves X.509 certificates from a Cassandra database.
func NewX509KeyDB ¶
NewX509KeyDB connects to the X.509 key database given as "dbserver" and "keyspace".
func (*X509KeyDB) AddX509Certificate ¶
func (db *X509KeyDB) AddX509Certificate(cert *x509.Certificate) error
AddX509Certificate adds all relevant data for the given X.509 certificate.
func (*X509KeyDB) ListCertificates ¶
func (db *X509KeyDB) ListCertificates(start_index uint64, count int32) ([]*x509keyserver.X509KeyData, error)
ListCertificates lists the next "count" known certificates starting from "start_index".
func (*X509KeyDB) RetrieveCertificateByIndex ¶
func (db *X509KeyDB) RetrieveCertificateByIndex(index uint64) (*x509.Certificate, error)
RetrieveCertificateByIndex retrieves the certificate with the given index number assigned by the issuer from the database.
Click to show internal directories.
Click to hide internal directories.