Documentation ¶
Index ¶
Constants ¶
View Source
const Krb5Config = `` /* 514-byte string literal not displayed */
Variables ¶
View Source
var AuthMethodMap = map[string]AuthMethod{ "ntlm": Ntlm, "kerberos": Kerberos, }
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶
type AuthMethod byte
const ( Ntlm AuthMethod = 1 << iota Kerberos )
func (AuthMethod) String ¶
func (authMethod AuthMethod) String() string
type CertConfig ¶
type CertConfig struct { AdcsUrl string OidTemplate string AdcsAuthMethods AuthMethod AdcsAuthKrb5conf string AdcsAuthUser string AdcsAuthRealm string AdcsAuthKeytab string AdcsAuthKdcs []string }
func (*CertConfig) ClearAuthMethods ¶
func (config *CertConfig) ClearAuthMethods()
func (*CertConfig) HasAuthMethod ¶
func (config *CertConfig) HasAuthMethod(method AuthMethod) bool
func (*CertConfig) SetAuthMethod ¶
func (config *CertConfig) SetAuthMethod(method AuthMethod)
func (*CertConfig) SetAuthMethodString ¶
func (config *CertConfig) SetAuthMethodString(methodString string)
type CertResponse ¶
func PostAdcsRequest ¶
func PostAdcsRequest(user, pass string, csrs []CsrRequest, config *CertConfig) (certs []CertResponse, err error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type CsrRequest ¶
Click to show internal directories.
Click to hide internal directories.