New Credential creates a new client credential that can be used to get tickets.
The credential uses the specified UTF8 user, realm, and plaintext password. Read Credential Cache reads a credential cache in from file returning a new credential.
Get Expire Time to see when the returned ticket actually expires).
Can also include a number of further restrictions/extensions (EG ability to forward the ticket).Read Keytab reads a MIT kerberos keytab file returning all credentials found within.Keytabs are typically used for service principals and keys for servers that need to authenticate incoming requests or for automated user principals that need to be able to renew their login.For all other cases, tickets should be requested through the KDC.Get Ticket returns a valid ticket for the given service and realm.