Documentation ¶
Index ¶
- Variables
- func IsASN1(_ string, data []byte, _ int64) bool
- func IsBase64ASN1(_ string, data []byte, _ int64) bool
- func IsJWT(_ string, data []byte, _ int64) bool
- func IsUUID(_ string, data []byte, _ int64) bool
- type Attribute
- type Identifier
- type Info
- func ASN1File(info Info, data []byte) (Info, error)
- func Base64ASN1File(info Info, data []byte) (Info, error)
- func Inspect(f *os.File) (Info, error)
- func JCEKeystore(info Info, _ []byte) (Info, error)
- func JWTData(info Info, data []byte) (Info, error)
- func JavaKeystore(info Info, _ []byte) (Info, error)
- func PEMFile(info Info, data []byte) (Info, error)
- func PGPPrivateKey(info Info, data []byte) (Info, error)
- func PGPPublicKey(info Info, data []byte) (Info, error)
- func PuttyPPK(info Info, data []byte) (Info, error)
- func SSH1PrivateKey(info Info, data []byte) (Info, error)
- func SSHAuthorizedKeys(info Info, data []byte) (Info, error)
- func SSHKnownHosts(info Info, data []byte) (Info, error)
- func SSHPublicKey(info Info, data []byte) (Info, error)
- func UUIDValue(info Info, data []byte) (Info, error)
- type JWT
- type Parser
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotRegularFile = errors.New("only regular files are supported")
View Source
var MaxReadSize = 128 * units.Megabyte
View Source
var UnknownASN1Data = Info{Description: "unknown ASN.1 data"}
View Source
var UnknownPEMData = Info{Description: "unknown PEM data"}
Functions ¶
Types ¶
type Info ¶
type JWT ¶ added in v0.4.0
func (JWT) HeaderAttributes ¶ added in v0.4.0
func (JWT) PayloadAttributes ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.