Click or drag to resize
weroSoft AG, Software
Certificate Klasse
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Represents an X509 certificate.
Vererbungshierarchie
SystemObject
  WeroSoft.SecurityCertificate

Namensraum:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 2.1 Development Main
Syntax
C#
public sealed class Certificate : IDisposable

Der Certificate Typ exponiert die folgenden Member.

Konstruktoren
  NameBeschreibung
Public MethodeCertificate
Initializes a new instance of a certificate.
Public MethodeCertificate(String)
Creates a certificate from a base 64 coded string.
Zurück nach oben
Eigenschaften
  NameBeschreibung
Public EigenschaftEnhancedUsageOids
Gets all usages assigned to the current certificate.
Public EigenschaftHasPrivateKey
Gets a value indicating whether the certificate has a private key.
Public EigenschaftIsEmpty
Gets or sets a value indicating whether the certificate is empty or not.
Public EigenschaftIssuer
Gets the issuer of the certificate.
Public EigenschaftNotAfter
Gets the date in local time after which a certificate is no longer valid.
Public EigenschaftNotBefore
Gets the date in local time on which a certificate becomes valid.
Public EigenschaftSerialNumber
Gets the serial number of the certificate.
Public EigenschaftSignatureAlgorithm
Gets the signature algorithm of the certificate.
Public EigenschaftSubject
Gets the subject of the certificate.
Public EigenschaftThumbprint
Gets the thumb print of the certificate.
Public EigenschaftUsage
Gets a value representing the configured usage of the certificate.
Public EigenschaftVersion
Gets the version of the certificate.
Zurück nach oben
Methoden
  NameBeschreibung
Public MethodeStatic MemberAddToStore(StoreLocation, Certificate)
Adds a certificate to the defined store location.
Public MethodeStatic MemberAddToStore(StoreLocation, Certificate, Boolean)
Adds a certificate to the defined store location.
Public MethodeDecrypt(Byte)
Decrypt raw data bytes.
Public MethodeDecrypt(String)
Decrypts a text.
Public MethodeDispose
Disposes the certificate.
Public MethodeEncrypt(Byte)
Encrypt raw data bytes.
Public MethodeEncrypt(String)
Encrypt a string using the current certificate.
Public MethodeEquals
Determines whether the specified object is equal to the current object.
(Vererbt von Object.)
Public MethodeExport(X509ContentType, SecureString, Boolean)
Export the certificate according to the requested content type.
Public MethodeExport(X509ContentType, String, Boolean)
Export the certificate according to the requested content type.
Public MethodeGetCertificateString
Gets the certificate coded as string.
Public MethodeGetHashCode
Serves as the default hash function.
(Vererbt von Object.)
Public MethodeGetRawCertData
Gets the raw data of the certificate.
Public MethodeGetType
Gets the Type of the current instance.
(Vererbt von Object.)
Public MethodeStatic MemberImport(Byte, SecureString, Boolean)
Loads the certificate from a byte array.
Public MethodeStatic MemberImport(String, SecureString, Boolean)
Loads the certificate from a file.
Public MethodeStatic MemberLoadFromStore(StoreLocation, String, Boolean)
Loads a certificate from the store, using the default store name StoreName.My.
Public MethodeStatic MemberLoadFromStore(StoreLocation, String, Boolean, StoreName)
Loads a certificate from the store.
Public MethodeStatic MemberRemoveFromStore(StoreLocation, Certificate)
Removes a certificate from the store, using the default store name StoreName.My.
Public MethodeStatic MemberRemoveFromStore(StoreLocation, Certificate, StoreName)
Removes a certificate from the store.
Public MethodeToString
Returns a string that represents the current object.
(Vererbt von Object.)
Zurück nach oben
Felder
  NameBeschreibung
Public FeldStatic MemberPemFooter
Defines the PEM Format footer.
Public FeldStatic MemberPemHeader
Defines the PEM Format header.
Zurück nach oben
Erweiterungsmethoden
  NameBeschreibung
Public ErweiterungsmethodeClone(CloneWorkingMode, IEnumerableType)Überladen.
Clones an object by serialization.
(Definiert von RuntimeExtensions.)
Public ErweiterungsmethodeCloneT(CloneWorkingMode, IEnumerableType)Überladen.
Clones an object by serialization.
(Definiert von RuntimeExtensions.)
Public ErweiterungsmethodeConvert (Definiert von DataConverterExtensions.)
Public ErweiterungsmethodeDynamicCast
Dynamically casts a reference to another type.
(Definiert von TypeManagerHelper.)
Public ErweiterungsmethodeExtractSystemParametersFromTrigger
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Definiert von TriggerExtensions.)
Public ErweiterungsmethodeGetFieldValue(String)Überladen.
Gets the data object held by a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetFieldValueT(String)Überladen.
Gets the data object held by a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetPropertyValue(String)Überladen.
Gets the data object held by a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeGetPropertyValueT(String)Überladen.
Gets the data object held by a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeInject(Type, Object)Überladen.
Injects all fields or properties which are marked with the defined attribute type name.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInject(Type, Object, Boolean)Überladen.
Injects all fields or properties which are marked with the defined attribute type name.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectField
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectProperty(String, Object)Überladen.
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInjectProperty(String, Type, Object)Überladen.
Injects a value to a property within a data object.
(Definiert von DataInjection.)
Public ErweiterungsmethodeInvoke(String, Object)Überladen.
Invokes a method on an object by reflection.
(Definiert von UnitTest.)
Public ErweiterungsmethodeInvokeTResult(String, Object)Überladen.
Invokes a method on an object by reflection.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetFieldValue
Sets the data object on a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetPropertyValue
Sets the data object on a defined property of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeSetReadOnlyFieldValue
Sets the data object on a defined field of a particular type.
(Definiert von UnitTest.)
Public ErweiterungsmethodeTryInjectProperty
Tries to Inject a value to a property within a data object.
(Definiert von DataInjection.)
Zurück nach oben
Siehe auch