Documentation ¶
Overview ¶
Copyright 2020 yiya1989. All rights reserved. Apache License Version 2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Krb5ClientState ¶
type Krb5ClientState int
const ( ContextFlagREADY = 128 /* initiator states */ InitiatorStart Krb5ClientState = iota InitiatorRestart InitiatorWaitForMutal InitiatorReady )
type Krb5InitiatorClient ¶
type Krb5InitiatorClient struct {
// contains filtered or unexported fields
}
func NewKrb5InitiatorClient ¶
func NewKrb5InitiatorClient(krb5Conf, user, realm string, keytabConf []byte) (kcl Krb5InitiatorClient, err error)
func (*Krb5InitiatorClient) DeleteSecContext ¶
func (k *Krb5InitiatorClient) DeleteSecContext() error
func (*Krb5InitiatorClient) GetMIC ¶
func (k *Krb5InitiatorClient) GetMIC(micFiled []byte) ([]byte, error)
func (*Krb5InitiatorClient) InitSecContext ¶
Click to show internal directories.
Click to hide internal directories.