Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCdxComponents ¶
GenerateCdxComponents Generate cyclone-go components from a block containing a key
Types ¶
type BlockType ¶
type BlockType string
BlockType A not complete list of PEMBlockTypes that can be detected currently
const ( BlockTypeCertificate BlockType = "CERTIFICATE" BlockTypePrivateKey BlockType = "PRIVATE KEY" BlockTypeEncryptedPrivateKey BlockType = "ENCRYPTED PRIVATE KEY" BlockTypePublicKey BlockType = "PUBLIC KEY" BlockTypeECPrivateKey BlockType = "EC PRIVATE KEY" BlockTypeRSAPrivateKey BlockType = "RSA PRIVATE KEY" BlockTypeRSAPublicKey BlockType = "RSA PUBLIC KEY" BlockTypeOPENSSHPrivateKey BlockType = "OPENSSH PRIVATE KEY" )
type Filter ¶
type Filter struct { FilterType TypeFilterType List []BlockType }
Filter that describes which PEMBlockTypes to allow
type TypeFilterType ¶
type TypeFilterType bool
TypeFilterType Used to specify whether a filter is an allow- or blocklist
const ( TypeAllowlist TypeFilterType = true // Allowlist TypeBlocklist TypeFilterType = false // Blocklist )
Click to show internal directories.
Click to hide internal directories.