| 1 |
// Written by Dr Stephen N Henson ([email protected]) for the OpenSSL project 1999. |
| 2 |
// Copyright (c) 1999 The OpenSSL Project. All rights reserved. |
| 3 |
// SPDX-License-Identifier: Apache-2.0 |
| 4 |
|
| 5 |
#include <stdio.h> |
| 6 |
|
| 7 |
#include <openssl/asn1.h> |
| 8 |
#include <openssl/asn1t.h> |
| 9 |
#include <openssl/conf.h> |
| 10 |
#include <openssl/x509.h> |
| 11 |
|
| 12 |
#include "internal.h" |
| 13 |
|
| 14 |
|
| 15 |
ASN1_SEQUENCE(AUTHORITY_KEYID) = { |
| 16 |
ASN1_IMP_OPT(AUTHORITY_KEYID, keyid, ASN1_OCTET_STRING, 0), |
| 17 |
ASN1_IMP_SEQUENCE_OF_OPT(AUTHORITY_KEYID, issuer, GENERAL_NAME, 1), |
| 18 |
ASN1_IMP_OPT(AUTHORITY_KEYID, serial, ASN1_INTEGER, 2), |
| 19 |
} ASN1_SEQUENCE_END(AUTHORITY_KEYID) |
| 20 |
|
| 21 |
IMPLEMENT_ASN1_FUNCTIONS(AUTHORITY_KEYID) |