CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
x509_certificate_2_collection.h
1
2#ifndef x509_certificate_2_collection_h
3#define x509_certificate_2_collection_h
4
5#include "defines.h"
6#include "system/object.h"
7#include "system/array.h"
8#include "system/collections/list.h"
9
10#include "security/cryptography/x509_certificates/x509_certificate_2.h"
11
12namespace System{ namespace Security{ namespace Cryptography{ namespace X509Certificates{
13
18class ASPOSECPP_SHARED_CLASS X509Certificate2Collection : public System::Collections::Generic::List<SharedPtr<X509Certificate2> > // public IDeserializationCallback, public ISerializable
19{
20protected:
23};
24
28class ASPOSECPP_SHARED_CLASS X509Certificate2CollectionPtr : public SharedPtr<X509Certificate2Collection>
29{
30public:
36
40 SharedPtr<X509Certificate2>& operator[] (size_t idx) const
41 {
42 return (*(this->GetPointer()))[ASPOSECPP_CHECKED_CAST(int, idx)];
43 }
44};
45
46}}}} // namespace System{ namespace Security{ namespace Cryptography{ namespace X509Certificates{
47
48#endif //x509_certificate_2_collection_h
List forward declaration.
Definition: list.h:127
Collection of X509 certificate objects. Objects of this class should only be allocated using System::...
Definition: x509_certificate_2_collection.h:19
~X509Certificate2Collection() override
Destructor.
Definition: x509_certificate_2_collection.h:22
Pointer to collection of X509 certificates. This type is a pointer to manage other object's deletion....
Definition: x509_certificate_2_collection.h:29
X509Certificate2CollectionPtr(const SharedPtr< X509Certificate2Collection > &obj)
Constructor.
Definition: x509_certificate_2_collection.h:35
X509Certificate2CollectionPtr()
Null pointer constructor.
Definition: x509_certificate_2_collection.h:32
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9