CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
x509_certificate_collection.h
1
2#ifndef x509_certificate_collection_h
3#define x509_certificate_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.h"
11
12namespace System{ namespace Security{ namespace Cryptography{ namespace X509Certificates{
13
18class ASPOSECPP_SHARED_CLASS X509CertificateCollection : public System::Collections::Generic::List<SharedPtr<X509Certificate> > // public IDeserializationCallback, public ISerializable
19{
20protected:
23};
24
28class ASPOSECPP_SHARED_CLASS X509CertificateCollectionPtr : public SharedPtr<X509CertificateCollection>
29{
30public:
36
40 SharedPtr<X509Certificate>& operator[] (int idx) const
41 {
42 return (*(this->GetPointer()))[idx];
43 }
44};
45
46}}}} // namespace System{ namespace Security{ namespace Cryptography{ namespace X509Certificates{
47
48#endif //x509_certificate_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_collection.h:19
~X509CertificateCollection() override
Destructor.
Definition: x509_certificate_collection.h:22
Pointer to collection of X509 certificates. This type is a pointer to manage other object's deletion....
Definition: x509_certificate_collection.h:29
X509CertificateCollectionPtr(const SharedPtr< X509CertificateCollection > &obj)
Constructor.
Definition: x509_certificate_collection.h:35
X509CertificateCollectionPtr()
Null pointer constructor.
Definition: x509_certificate_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