mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
Add support for attribute certificates (v2) as described in RFC 5755 profile. Attribute certificates provide a mechanism to manage authorization information separately from the identity information provided by public key certificates. This initial patch adds the ASN.1 definitions and I/O API. Accessor functions for the certificate fields will be added in subsequent patches. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15857)
23 lines
675 B
C
23 lines
675 B
C
/*
|
|
* Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#ifndef OSSL_CRYPTO_X509_X509_ACERT_H
|
|
# define OSSL_CRYPTO_X509_X509_ACERT_H
|
|
|
|
#include <crypto/x509_acert.h>
|
|
|
|
# define X509_ACERT_ISSUER_V2 1
|
|
|
|
DECLARE_ASN1_ITEM(OSSL_OBJECT_DIGEST_INFO)
|
|
DECLARE_ASN1_ITEM(OSSL_ISSUER_SERIAL)
|
|
DECLARE_ASN1_ITEM(X509_ACERT_ISSUER_V2FORM)
|
|
DECLARE_ASN1_ITEM(X509_ACERT_ISSUER)
|
|
DECLARE_ASN1_ITEM(X509_HOLDER)
|
|
#endif
|