Retrieves the system time of day, in seconds since the local system's epoch. [The ASN.1 encoding routines must convert this to the standard ASN.1 encoding as needed]
Retrieves the system time of day, in seconds since the local system's epoch. [The ASN.1 encoding routines must convert this to the standard ASN.1 encoding as needed]
The seconds portion is returned in *seconds, the microseconds portion in *microseconds.
Read a password from the keyboard. The first *size_return bytes of the password entered are returned in return_pwd. If fewer than *size_return bytes are typed as a password, the remainder of return_pwd is zeroed. Upon success, the total number of bytes filled in is stored in *size_return.
prompt is used as the prompt for the first reading of a password. It is printed to the terminal, and then a password is read from the keyboard. No newline or spaces are emitted between the prompt and the cursor, unless the newline/space is included in the prompt.
If prompt2 is a null pointer, then the password is read once. If prompt2 is set, then it is used as a prompt to read another password in the same manner as described for prompt. After the second password is read, the two passwords are compared, and an error is returned if they are not identical.
Echoing is turned off when the password is read.
If there is an error in reading or verifying the password, an error code is returned; else zero is returned.
Given a length and a pointer, fills in the area pointed to by fillin with size random octets suitable for use in a confounder.
Given a krb5_address with type ADDRTYPE_ADDRPORT in inaddr, this function unpacks its component address and additional type, and uses them along with uniq to allocate a fresh string to represent the address and additional information. The string is suitable for use as a replay cache tag. This string is allocated and should be freed with free when the caller has finished using it. When using IP addresses, the components in inaddrcontents must be of type ADDRTYPE_INET and ADDRTYPE_PORT.