Documentation ¶
Overview ¶
Package executablecsrverifier defines the ExecutableCSRVerifier csrverifier.CSRVerifier.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutableCSRVerifier ¶
type ExecutableCSRVerifier struct {
// contains filtered or unexported fields
}
ExecutableCSRVerifier implements a csrverifier.CSRVerifier. It executes a command, and passes it the raw decrypted CSR. If the command exit code is 0, the CSR is considered valid. In any other cases, the CSR is considered invalid.
func New ¶
func New(path string, logger log.Logger) (*ExecutableCSRVerifier, error)
New creates a executablecsrverifier.ExecutableCSRVerifier.
func (*ExecutableCSRVerifier) Verify ¶
func (v *ExecutableCSRVerifier) Verify(m *scep.CSRReqMessage) (bool, error)
Click to show internal directories.
Click to hide internal directories.