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 377 of file asn1.h.

Field Documentation

◆ name

const char* asn1_algorithm::name

Name.

Definition at line 379 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 381 of file asn1.h.

◆ pubkey

struct pubkey_algorithm* asn1_algorithm::pubkey

Public-key algorithm (if applicable)

Definition at line 383 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 385 of file asn1.h.

Referenced by ocsp_check_signature().

◆ cipher

struct cipher_algorithm* asn1_algorithm::cipher

Cipher algorithm (if applicable)

Definition at line 387 of file asn1.h.

◆ curve

struct elliptic_curve* asn1_algorithm::curve

Elliptic curve (if applicable)

Definition at line 389 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 397 of file asn1.h.


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