Path: blob/main/crypto/openssl/include/internal/crmf.h
34879 views
/*1* Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/8#ifndef OSSL_CRYPTO_CRMF_H9# define OSSL_CRYPTO_CRMF_H10# pragma once1112# include <openssl/crmf.h>1314struct ossl_crmf_attributetypeandvalue_st {15ASN1_OBJECT *type;16union {17/* NID_id_regCtrl_regToken */18ASN1_UTF8STRING *regToken;1920/* NID_id_regCtrl_authenticator */21ASN1_UTF8STRING *authenticator;2223/* NID_id_regCtrl_pkiPublicationInfo */24OSSL_CRMF_PKIPUBLICATIONINFO *pkiPublicationInfo;2526/* NID_id_regCtrl_oldCertID */27OSSL_CRMF_CERTID *oldCertID;2829/* NID_id_regCtrl_protocolEncrKey */30X509_PUBKEY *protocolEncrKey;3132/* NID_id_regCtrl_algId */33X509_ALGOR *algId;3435/* NID_id_regCtrl_rsaKeyLen */36ASN1_INTEGER *rsaKeyLen;3738/* NID_id_regInfo_utf8Pairs */39ASN1_UTF8STRING *utf8Pairs;4041/* NID_id_regInfo_certReq */42OSSL_CRMF_CERTREQUEST *certReq;4344ASN1_TYPE *other;45} value;46} /* OSSL_CRMF_ATTRIBUTETYPEANDVALUE */;47DECLARE_ASN1_FUNCTIONS(OSSL_CRMF_ATTRIBUTETYPEANDVALUE)48DECLARE_ASN1_DUP_FUNCTION(OSSL_CRMF_ATTRIBUTETYPEANDVALUE)4950#endif /* OSSL_CRYPTO_CRMF_H */515253