shishi_kdcrep_add_enc_part3
Api function
Arguments
- Shishi * handle
-
shishi handle as allocated by
shishi_init().
- Shishi_asn1 kdcrep
-
KDC-REP to add enc-part field to.
- Shishi_key * key
-
key used to encrypt enc-part.
- int keyusage
-
key usage to use, normally SHISHI_KEYUSAGE_ENCASREPPART, SHISHI_KEYUSAGE_ENCTGSREPPART_SESSION_KEY or SHISHI_KEYUSAGE_ENCTGSREPPART_AUTHENTICATOR_KEY.
- Shishi_asn1 enckdcreppart
-
EncKDCRepPart to add.
Overview
Encrypts DER encoded EncKDCRepPart using key and stores it in the KDC-REP.
Return value
Returns SHISHI_OK iff successful.
History
- Debian 13 (Trixie) to Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye) to Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)