Functions | Variables
v3_bitst.c File Reference
#include <stdio.h>
#include <string.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include "internal.h"
Include dependency graph for v3_bitst.c:

Go to the source code of this file.

Functions

 STACK_OF (CONF_VALUE)
 
ASN1_BIT_STRINGv2i_ASN1_BIT_STRING (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
 

Variables

static const BIT_STRING_BITNAME key_usage_type_table []
 
static const BIT_STRING_BITNAME ns_cert_type_table []
 
const X509V3_EXT_METHOD v3_key_usage
 
const X509V3_EXT_METHOD v3_nscert
 

Function Documentation

◆ STACK_OF()

STACK_OF ( CONF_VALUE  )

Definition at line 99 of file v3_bitst.c.

◆ v2i_ASN1_BIT_STRING()

ASN1_BIT_STRING* v2i_ASN1_BIT_STRING ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE) *  nval 
)

Definition at line 111 of file v3_bitst.c.

Variable Documentation

◆ key_usage_type_table

const BIT_STRING_BITNAME key_usage_type_table[]
static
Initial value:
= {
{0, "Digital Signature", "digitalSignature"},
{1, "Non Repudiation", "nonRepudiation"},
{2, "Key Encipherment", "keyEncipherment"},
{3, "Data Encipherment", "dataEncipherment"},
{4, "Key Agreement", "keyAgreement"},
{5, "Certificate Sign", "keyCertSign"},
{6, "CRL Sign", "cRLSign"},
{7, "Encipher Only", "encipherOnly"},
{8, "Decipher Only", "decipherOnly"},
{-1, NULL, NULL}
}

Definition at line 81 of file v3_bitst.c.

◆ ns_cert_type_table

const BIT_STRING_BITNAME ns_cert_type_table[]
static
Initial value:
= {
{0, "SSL Client", "client"},
{1, "SSL Server", "server"},
{2, "S/MIME", "email"},
{3, "Object Signing", "objsign"},
{4, "Unused", "reserved"},
{5, "SSL CA", "sslCA"},
{6, "S/MIME CA", "emailCA"},
{7, "Object Signing CA", "objCA"},
{-1, NULL, NULL}
}

Definition at line 69 of file v3_bitst.c.

◆ v3_key_usage

const X509V3_EXT_METHOD v3_key_usage
Initial value:

Definition at line 96 of file v3_bitst.c.

◆ v3_nscert

Initial value:

Definition at line 94 of file v3_bitst.c.

NID_key_usage
#define NID_key_usage
Definition: nid.h:464
ns_cert_type_table
static const BIT_STRING_BITNAME ns_cert_type_table[]
Definition: v3_bitst.c:69
key_usage_type_table
static const BIT_STRING_BITNAME key_usage_type_table[]
Definition: v3_bitst.c:81
EXT_BITSTRING
#define EXT_BITSTRING(nid, table)
Definition: x509v3.h:367
NID_netscape_cert_type
#define NID_netscape_cert_type
Definition: nid.h:406


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:37