What is the X509Certificate class?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the X509Certificate class?
Rating:
The X509Certificate class defines the common language runtime implementation of an X.509 v.3 certificate. This class is serializable and contains the following commonly used public methods:
| CreateFromCertFile | It creates an X.509v3 certificate from the specified certification file. |
| CreateFromSignedFile | It creates an X.509v3 certificate from the specified signed file. |
| GetCertHash | It returns the hash value for the X.509v3 certificate as an array of bytes. |
| GetCertHashString | It returns the hash value for the X.509v3 certificate as a hexadecimal string. |
| GetEffectiveDateString | It returns the effective date of the X.509v3 certificate. |
| GetFormat | It returns the name of the format of the X.509v3 certificate. |
| GetIssuerName | It returns the name of the certification authority that issued the X.509v3 certificate. |
| GetKeyAlgorithm | It returns the key algorithm information for the X.509v3 certificate. |
| GetKeyAlgorithmParameters | It returns the key algorithm parameters for the X.509v3 certificate. |
| GetKeyAlgorithmParametersString | It is used to return the key algorithm parameters as string for the X.509v3 certificate. |
| GetName | It returns the name of the current principal. |
| GetPublicKey | It returns the public key for the X.509v3 certificate. |
| GetPublicKeyString | It is used to return the public key for the X.509v3 certificate. |
| GetRawCertData | It returns the raw data for the entire X.509v3 certificate. |
| GetRawCertDataString | This method is used to return the raw data as string for the entire X.509v3 certificate. |
| GetSerialNumberString | This method is used to return the serial number of the X.509v3 certificate. |
| GetType | This method is used to get the Type of the current instance. |
Rating:
Was this information helpful?
Other articles
- What are the overloaded constructors of the DerivedKeyToken class?
- What is the WebServiceBindingAttribute class?
- How many distinct roles are there in a Web service scenario?
- What are the commonly used elements of .NET Remoting Configuration file?
- How to view the exception types provided by the .NET Framework?