iPXE
|
Private key. More...
Go to the source code of this file.
Data Structures | |
struct | private_key |
A private key. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static struct private_key * | privkey_get (struct private_key *key) |
Get reference to private key. More... | |
static void | privkey_put (struct private_key *key) |
Drop reference to private key. More... | |
static struct asn1_cursor * | privkey_cursor (struct private_key *key) |
Get private key ASN.1 cursor. More... | |
void | privkey_free (struct refcnt *refcnt) |
Free private key. More... | |
static void | privkey_init (struct private_key *key) |
Initialise empty private key. More... | |
Variables | |
struct private_key | private_key |
Private key. More... | |
Private key.
Definition in file privkey.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Get reference to private key.
key | Private key |
key | Private key |
Definition at line 30 of file privkey.h.
Referenced by add_tls(), and tls_session().
|
inlinestatic |
Drop reference to private key.
key | Private key |
Definition at line 41 of file privkey.h.
Referenced by free_tls(), free_tls_session(), and icert_free().
|
inlinestatic |
Get private key ASN.1 cursor.
key | Private key |
cursor | ASN.1 cursor |
Definition at line 52 of file privkey.h.
References asn1_built(), and key.
Referenced by cms_cipher_key(), tls_send_certificate_verify(), and x509_find_key().
void privkey_free | ( | struct refcnt * | refcnt | ) |
Free private key.
refcnt | Reference counter |
Definition at line 94 of file privkey.c.
References container_of, free, and key.
Referenced by privkey_init().
|
inlinestatic |
Initialise empty private key.
Definition at line 63 of file privkey.h.
References key, privkey_free(), and ref_init.
Referenced by icert_certs().
struct private_key private_key |