iPXE
Data Fields
asn1_algorithm Struct Reference

An ASN.1 OID-identified algorithm. More...

#include <asn1.h>

Data Fields

const char * name
 Name. More...
 
struct asn1_cursor oid
 Object identifier. More...
 
struct pubkey_algorithmpubkey
 Public-key algorithm (if applicable) More...
 
struct digest_algorithmdigest
 Digest algorithm (if applicable) More...
 
struct cipher_algorithmcipher
 Cipher algorithm (if applicable) More...
 
struct elliptic_curvecurve
 Elliptic curve (if applicable) More...
 
int(* parse )(struct asn1_algorithm *algorithm, struct asn1_cursor *params)
 Parse algorithm parameters (optional) More...
 

Detailed Description

An ASN.1 OID-identified algorithm.

Definition at line 366 of file asn1.h.

Field Documentation

◆ name

const char* asn1_algorithm::name

Name.

Definition at line 368 of file asn1.h.

Referenced by asn1_check_algorithm(), and x509_check_signature().

◆ oid

struct asn1_cursor asn1_algorithm::oid

Object identifier.

Definition at line 370 of file asn1.h.

◆ pubkey

struct pubkey_algorithm* asn1_algorithm::pubkey

Public-key algorithm (if applicable)

Definition at line 372 of file asn1.h.

Referenced by ocsp_check_signature(), tls_send_certificate_verify(), x509_check_signature(), and x509_find_key().

◆ digest

struct digest_algorithm* asn1_algorithm::digest

Digest algorithm (if applicable)

Definition at line 374 of file asn1.h.

Referenced by ocsp_check_signature().

◆ cipher

struct cipher_algorithm* asn1_algorithm::cipher

Cipher algorithm (if applicable)

Definition at line 376 of file asn1.h.

◆ curve

struct elliptic_curve* asn1_algorithm::curve

Elliptic curve (if applicable)

Definition at line 378 of file asn1.h.

◆ parse

int( * asn1_algorithm::parse) (struct asn1_algorithm *algorithm, struct asn1_cursor *params)

Parse algorithm parameters (optional)

Parameters
algorithmAlgorithm
paramParameters to parse (and potentially modify)
Return values
rcReturn status code

Definition at line 386 of file asn1.h.


The documentation for this struct was generated from the following file: