Documentation
¶
Index ¶
- func Init(repo string) error
- func StripPadding(s string) string
- func ToKintoKey(cert *x509.Certificate) string
- type CanonicalEntry
- type Change
- type ChangeSet
- func (c *ChangeSet) Added(entry KintoEntry)
- func (c *ChangeSet) Associate(certs map[string][]*x509.Certificate)
- func (c *ChangeSet) Changed() bool
- func (c *ChangeSet) Entries() []KintoEntry
- func (c *ChangeSet) Get(cert *x509.Certificate) (KintoEntry, bool)
- func (c *ChangeSet) Keys() []string
- func (c *ChangeSet) Length() int
- func (c *ChangeSet) Removed(entry KintoEntry)
- func (c *ChangeSet) Serials() []string
- func (c *ChangeSet) State() []CanonicalEntry
- type Details
- type KintoArray
- type KintoEntry
- type KintoSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StripPadding ¶
func ToKintoKey ¶
func ToKintoKey(cert *x509.Certificate) string
Types ¶
type CanonicalEntry ¶
type CanonicalEntry struct { Entry KintoEntry Certificate *x509.Certificate State Change }
type ChangeSet ¶
type ChangeSet struct {
// contains filtered or unexported fields
}
func NewChangeSet ¶
func NewChangeSet() *ChangeSet
func (*ChangeSet) Added ¶
func (c *ChangeSet) Added(entry KintoEntry)
func (*ChangeSet) Entries ¶
func (c *ChangeSet) Entries() []KintoEntry
func (*ChangeSet) Get ¶
func (c *ChangeSet) Get(cert *x509.Certificate) (KintoEntry, bool)
func (*ChangeSet) Removed ¶
func (c *ChangeSet) Removed(entry KintoEntry)
func (*ChangeSet) State ¶
func (c *ChangeSet) State() []CanonicalEntry
type KintoArray ¶
type KintoArray struct {
Data []KintoEntry `json:"data"`
}
Raw OneCRL representations
type KintoEntry ¶
type KintoEntry struct { Schema int64 `json:"schema"` Details Details `json:"details"` Enabled bool `json:"enabled"` IssuerName string `json:"issuerName"` SerialNumber string `json:"serialNumber"` ID string `json:"id"` LastModified int64 `json:"lastModified"` }
func (*KintoEntry) HexSerial ¶
func (k *KintoEntry) HexSerial() string
func (*KintoEntry) Key ¶
func (k *KintoEntry) Key() string
func (*KintoEntry) ReadableIssuer ¶
func (k *KintoEntry) ReadableIssuer() string
func (*KintoEntry) SameIssuer ¶
func (k *KintoEntry) SameIssuer(cert *x509.Certificate) bool
func (*KintoEntry) Timestamp ¶
func (k *KintoEntry) Timestamp() string
Click to show internal directories.
Click to hide internal directories.