System::Security::Cryptography::X509Certificates::X509Certificate class
inhoud
[
verbergen
]X509Certificate class
X.509 v.3-certificaat. Versleutelde certificaten worden niet ondersteund. Alleen de X509KeyStorageFlags::DefaultKeySet vlag wordt ondersteund. Objecten van deze klasse mogen alleen worden gealloceerd met de System::MakeObject() functie. Maak nooit een instantie van dit type op de stack of met operator new, omdat dit leidt tot runtime‑fouten en/of assertiefouten. Wikkel deze klasse altijd in een System::SmartPtr pointer en gebruik deze pointer om deze als argument aan functies door te geven.
class X509Certificate : public virtual System::Object,
public System::IDisposable
Methoden
| Methode | Beschrijving |
|---|---|
| static CreateFromCertFile(const String&) | Maakt een certificaat aan vanuit het opgegeven PKCS7‑bestand. |
| static CreateFromSignedFile(const String&) | Maakt een certificaat aan vanuit het opgegeven ondertekende bestand. |
| Dispose() override | Doet niets. |
| Equals(SharedPtr<Object>) override | Vergelijkt twee certificaten. |
| virtual Export(X509ContentType) const | Exporteert het huidige object naar een byte‑array met het opgegeven formaat. NIET GEREALISEERD. |
| virtual Export(X509ContentType, const SecureStringPtr&) const | Exporteert het huidige object naar een byte‑array met het opgegeven formaat. NIET GEREALISEERD. |
| virtual Export(X509ContentType, const String&) const | Exporteert het huidige object naar een byte‑array met het opgegeven formaat. NIET GEREALISEERD. |
| get_Handle() const | Haalt een handle op voor de Microsoft Cryptographic API‑certificaatcontext. |
| get_Issuer() const | Haalt de naam op van de certificaatautoriteit die het X.509v3‑certificaat heeft uitgegeven. |
| get_Subject() const | Haalt de subject distinguished name op uit het certificaat. |
| virtual GetCertHash() const | Haalt de hash op voor het huidige object als een byte‑array. |
| virtual GetCertHash(const HashAlgorithmName&) const | Haalt de hash op voor het huidige object als een byte‑array. |
| virtual GetCertHashString() const | Haalt de SHA1 hash op voor het huidige object als een hexadecimale string. |
| virtual GetCertHashString(const HashAlgorithmName&) const | Haalt de SHA1 hash op voor het huidige object als een hexadecimale string. |
| virtual GetEffectiveDateString() const | Haalt de ingangsdatum op van het huidige certificaat. |
| virtual GetExpirationDateString() const | Haalt de vervaldatum op van het huidige certificaat. |
| virtual GetFormat() const | Haalt de naam op van het certificaatformaat. |
| GetHashCode() const override | Haalt de certificaat‑hashcode op. |
| virtual GetIssuerName() const | Haalt de naam op van de certificeringsautoriteit die het huidige certificaat heeft uitgegeven. |
| virtual GetKeyAlgorithm() const | Haalt sleutelinformatie op voor het huidige certificaat als een string. |
| virtual GetKeyAlgorithmParameters() const | Haalt sleutelinformatie op voor het huidige certificaat als een byte-array. |
| virtual GetKeyAlgorithmParametersString() const | Haalt sleutelinformatie op voor het huidige certificaat als een hexadecimale string. |
| virtual GetName() const | Haalt de naam op van de principal aan wie het huidige certificaat is uitgegeven. |
| virtual GetPublicKey() const | Haalt de openbare sleutel op uit het certificaat als een byte-array. |
| virtual GetPublicKeyString() const | Haalt de openbare sleutel op uit het certificaat als een hexadecimale string. |
| virtual GetRawCertData() const | Haalt ruwe gegevens op uit het certificaat als een byte-array. |
| virtual GetRawCertDataString() const | Haalt ruwe gegevens op uit het certificaat als een hexadecimale string. |
| virtual GetSerialNumber() const | Haalt het serienummer op uit het certificaat als een byte-array. |
| virtual GetSerialNumberString() const | Haalt het serienummer op uit het certificaat als een hexadecimale string. |
| virtual Import(const String&, const SecureStringPtr&, X509KeyStorageFlags) | Importeert informatie uit het opgegeven certificaatbestand. NIET GEREALISEERD. |
| virtual Import(const String&, const String&, X509KeyStorageFlags) | Importeert informatie uit het opgegeven certificaatbestand. NIET GEREALISEERD. |
| virtual Import(const ByteArrayPtr&, const SecureStringPtr&, X509KeyStorageFlags) | Importeert informatie uit de opgegeven certificaatgegevens. NIET GEREALISEERD. |
| virtual Import(const ByteArrayPtr&, const String&, X509KeyStorageFlags) | Importeert informatie uit de opgegeven certificaatgegevens. NIET GEREALISEERD. |
| virtual Import(const String&) | Importeert informatie uit het opgegeven certificaatbestand. NIET GEREALISEERD. |
| virtual Import(const ByteArrayPtr&) | Importeert informatie uit de opgegeven certificaatgegevens. NIET GEREALISEERD. |
| operator=(const X509Certificate&) | |
| virtual Reset() | Reset de certificaatstatus. |
| virtual ToString(bool) const | Retourneert de certificaatinformatie in tekstformaat. |
| ToString() const override | Retourneert de certificaatinformatie in tekstformaat. |
| X509Certificate(const X509Certificate&) | |
| X509Certificate() | Constructor. |
| X509Certificate(const ByteArrayPtr&) | Constructor. |
| X509Certificate(const String&) | Constructor. |
| X509Certificate(const SharedPtr<X509Certificate>&) | Constructor. |
| X509Certificate(const ByteArrayPtr&, const String&) | Constructor. |
| X509Certificate(const ByteArrayPtr&, const SecureStringPtr&) | Constructor. |
| X509Certificate(const String&, const String&) | Constructor. |
| X509Certificate(const String&, const SecureStringPtr&) | Constructor. |
| X509Certificate(const ByteArrayPtr&, const String&, X509KeyStorageFlags) | Constructor. |
| X509Certificate(const ByteArrayPtr&, const SecureStringPtr&, X509KeyStorageFlags) | Constructor. |
| X509Certificate(const String&, const String&, X509KeyStorageFlags) | Constructor. |
| X509Certificate(const String&, const SecureStringPtr&, X509KeyStorageFlags) | Constructor. |
| X509Certificate(const ByteArrayPtr&, const ByteArrayPtr&, X509KeyStorageFlags) | Constructor. |
Typedefs
| Typedef | Beschrijving |
|---|---|
| Ptr | Pointertype. |
Zie ook
- Class Object
- Class IDisposable
- Namespace System::Security::Cryptography::X509Certificates
- Library Aspose.Page for C++