The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

krb5_decrypt (3)
  • >> krb5_decrypt (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
    HEIMDAL  

    NAME

    krb5_decrypt
    
     
    krb5_decrypt_EncryptedData
    
     
    krb5_encrypt
    
     
    krb5_encrypt_EncryptedData
    
     - encrypt and decrypt data
    
     
    

    LIBRARY

    Kerberos 5 Library (libkrb5, -lkrb5)
     
    

    SYNOPSIS

       #include <krb5.h>
    krb5_error_code krb5_encrypt (krb5_context context krb5_crypto crypto unsigned usage void *data size_t len krb5_data *result);
    krb5_error_code krb5_encrypt_EncryptedData (krb5_context context krb5_crypto crypto unsigned usage void *data size_t len int kvno EncryptedData *result);
    krb5_error_code krb5_decrypt (krb5_context context krb5_crypto crypto unsigned usage void *data size_t len krb5_data *result);
    krb5_error_code krb5_decrypt_EncryptedData (krb5_context context krb5_crypto crypto unsigned usage EncryptedData *e krb5_data *result);
     

    DESCRIPTION

    These functions are used to encrypt and decrypt data.

    krb5_encrypt ();
    puts the encrypted version of Fa data (of size Fa len ) in Fa result . If the encryption type supports using derived keys, Fa usage should be the appropriate key-usage. krb5_encrypt_EncryptedData ();
    does the same as krb5_encrypt (,);
    but it puts the encrypted data in a Fa EncryptedData structure instead. If Fa kvno is not zero, it will be put in the Fa kvno field in the Fa EncryptedData .

    krb5_decrypt (,);
    and krb5_decrypt_EncryptedData ();
    works similarly.  

    SEE ALSO

    krb5_create_checksum3, krb5_crypto_init3


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру