1.2.1 Common Methods and Attributes

getflags ()
Return the bitwise-or of the current operational parameters for the Authentication Context. See the setflags() method.

setflags (flags)
Set operational parameters for the the Authentication Context. Valid flags supported for this module include KRB5_AUTH_CONTEXT_DO_TIME and KRB5_AUTH_CONTEXT_DO_SEQUENCE. Parameters to use should be bitwise-or'ed together and passed as flags.

mk_safe (string)
Return an encoded version of string which includes an encrypted checksum of string; only the remote principal should be able to decode the checksum and be able to verify that string actually arrived from the sender unmodified. This does not provide privacy.

rd_safe (data)
Return a string encapsulated in data with an encrypted checksum and verify the checksum and sender identity. If the checksum or sender doesn't match, Krb5Error is raised.

mk_priv (string)
Return an encoded version of string which includes an encrypted form of string; only the remote principal should be able to decode the original string and be able to verify that string actually arrived from the sender unmodified.

rd_priv (data)
Return the plaintext encapsulated in data and verify the sender's identity. If the sender doesn't match, Krb5Error is raised.

These attributes of Authentication Contexts are provided on a read-only basis:

local
The local principal used for the authentication context.

remote
The remote principal used for the authentication context.