Name

KeyInfoX509Data

Synopsis

public class KeyInfoX509Data : KeyInfoClause {
// Public Constructors
   public KeyInfoX509Data(  );
   public KeyInfoX509Data(byte[  ] rgbCert);
   public KeyInfoX509Data(System.Security.Cryptography.X509Certificates.X509Certificate cert);
// Public Instance Properties
   public ArrayList Certificates{get; }
   public byte[  ] CRL{set; get; }
   public ArrayList IssuerSerials{get; }
   public ArrayList SubjectKeyIds{get; }
   public ArrayList SubjectNames{get; }
// Public Instance Methods
   public void AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate certificate);
   public void AddIssuerSerial(string issuerName, string serialNumber);
   public void AddSubjectKeyId(byte[  ] subjectKeyId);
   public void AddSubjectName(string subjectName);
   public override XmlElement GetXml(  );
// overrides KeyInfoClause
   public override void LoadXml(System.Xml.XmlElement element);
 // overrides KeyInfoClause
}

The KeyInfoX509Data class extends the KeyInfoClause class and specifies an X.509 v3 certificate that relates to the key required to validate an XML Signature. The AddCertificate( ) method includes a certificate in the information clause, represented by the System.Security.Cryptography.X509Certificates.X509Certificate class.

Hierarchy

System.Object KeyInfoClause KeyInfoX509Data

Get Programming .NET Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.