PrincipalUtilities Class

Note: This API is now obsolete.

Definition

Namespace: Org.BouncyCastle.X509
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
[ObsoleteAttribute("Will be removed")]
public class PrincipalUtilities
Inheritance
Object    PrincipalUtilities

Remarks

A utility class that will extract X509Principal objects from X.509 certificates.

Use this in preference to trying to recreate a principal from a string, not all DNs are what they should be, so it's best to leave them encoded where they can be.

Constructors

PrincipalUtilitiesInitializes a new instance of the PrincipalUtilities class

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetIssuerX509Principal(X509Certificate)Return the issuer of the given cert as an X509Principal.
GetIssuerX509Principal(X509Crl)Return the issuer of the given CRL as an X509Principal.
GetSubjectX509PrincipalReturn the subject of the given cert as an X509Principal.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also