C# Class Org.BouncyCastle.X509.AttributeCertificateHolder

The Holder object.
 Holder ::= SEQUENCE { baseCertificateID   [0] IssuerSerial OPTIONAL, -- the issuer and serial number of -- the holder's Public Key Certificate entityName          [1] GeneralNames OPTIONAL, -- the name of the claimant or role objectDigestInfo    [2] ObjectDigestInfo OPTIONAL -- used to directly authenticate the holder, -- for example, an executable } 
Inheritance: IX509Selector
Exibir arquivo Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
AttributeCertificateHolder ( X509Certificate cert ) : System
AttributeCertificateHolder ( Org.BouncyCastle.Asn1.X509.X509Name principal ) : System
AttributeCertificateHolder ( Org.BouncyCastle.Asn1.X509.X509Name issuerName, BigInteger serialNumber ) : System
AttributeCertificateHolder ( int digestedObjectType, string digestAlgorithm, string otherObjectTypeID, byte objectDigest ) : System
Clone ( ) : object
Equals ( object obj ) : bool
GetEntityNames ( ) : Org.BouncyCastle.Asn1.X509.X509Name[]
GetHashCode ( ) : int
GetIssuer ( ) : Org.BouncyCastle.Asn1.X509.X509Name[]
GetObjectDigest ( ) : byte[]
Match ( X509Certificate x509Cert ) : bool
Match ( object obj ) : bool

Private Methods

Method Description
AttributeCertificateHolder ( Asn1Sequence seq ) : System
GenerateGeneralNames ( Org.BouncyCastle.Asn1.X509.X509Name principal ) : GeneralNames
GetNames ( GeneralName names ) : object[]
GetPrincipals ( GeneralNames names ) : Org.BouncyCastle.Asn1.X509.X509Name[]
MatchesDN ( Org.BouncyCastle.Asn1.X509.X509Name subject, GeneralNames targets ) : bool

Method Details

AttributeCertificateHolder() public method

public AttributeCertificateHolder ( X509Certificate cert ) : System
cert X509Certificate
return System

AttributeCertificateHolder() public method

public AttributeCertificateHolder ( Org.BouncyCastle.Asn1.X509.X509Name principal ) : System
principal Org.BouncyCastle.Asn1.X509.X509Name
return System

AttributeCertificateHolder() public method

public AttributeCertificateHolder ( Org.BouncyCastle.Asn1.X509.X509Name issuerName, BigInteger serialNumber ) : System
issuerName Org.BouncyCastle.Asn1.X509.X509Name
serialNumber Org.BouncyCastle.Math.BigInteger
return System

AttributeCertificateHolder() public method

public AttributeCertificateHolder ( int digestedObjectType, string digestAlgorithm, string otherObjectTypeID, byte objectDigest ) : System
digestedObjectType int
digestAlgorithm string
otherObjectTypeID string
objectDigest byte
return System

Clone() public method

public Clone ( ) : object
return object

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetEntityNames() public method

public GetEntityNames ( ) : Org.BouncyCastle.Asn1.X509.X509Name[]
return Org.BouncyCastle.Asn1.X509.X509Name[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetIssuer() public method

public GetIssuer ( ) : Org.BouncyCastle.Asn1.X509.X509Name[]
return Org.BouncyCastle.Asn1.X509.X509Name[]

GetObjectDigest() public method

public GetObjectDigest ( ) : byte[]
return byte[]

Match() public method

public Match ( X509Certificate x509Cert ) : bool
x509Cert X509Certificate
return bool

Match() public method

public Match ( object obj ) : bool
obj object
return bool