This documentation is archived and is not being maintained.

HttpClientCertificate Properties

The properties of the HttpClientCertificate class are listed here. For a complete list of HttpClientCertificate class members, see the HttpClientCertificate Members topic.

Public Properties

public propertyAllKeys (inherited from NameValueCollection) Gets all the keys in the NameValueCollection.
public propertyBinaryIssuer Gets or sets the certificate issuer, in binary format.
public propertyCertEncoding Gets the encoding of the certificate.
public propertyCertificate Gets a string containing the binary stream of the entire certificate content, in ASN.1 format.
public propertyCookie Gets the unique ID for the client certificate, if provided.
public propertyCount (inherited from NameObjectCollectionBase) Gets the number of key-and-value pairs contained in the NameObjectCollectionBase instance.
public propertyFlags A set of flags that provide additional client certificate information.
public propertyIsPresent Gets a value that indicates whether the client certificate is present.
public propertyIssuer A string that contains a list of subfield values containing information about the certificate issuer.
public propertyIsValid Gets a value that indicates whether the client certificate is valid.
public propertyItem (inherited from NameValueCollection) Overloaded. Gets or sets the specified entry of the NameValueCollection.

In C#, this property is the indexer for the HttpClientCertificate class.

public propertyKeys (inherited from NameObjectCollectionBase) Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.
public propertyKeySize Gets the number of bits in the digital certificate key size. For example, 128.
public propertyPublicKey Gets the public key binary value from the certificate.
public propertySecretKeySize Gets the number of bits in the server certificate private key. For example, 1024.
public propertySerialNumber Provides the certificate serial number as an ASCII representation of hexadecimal bytes separated by hyphens. For example, 04-67-F3-02.
public propertyServerIssuer Gets the issuer field of the server certificate.
public propertyServerSubject Gets the subject field of the server certificate.
public propertySubject Gets the subject field of the client certificate.
public propertyValidFrom Gets the date when the certificate becomes valid. The date varies with international settings.
public propertyValidUntil Gets the certificate expiration date.

Protected Properties

protected propertyIsReadOnly (inherited from NameObjectCollectionBase) Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.

See Also

HttpClientCertificate Class | System.Web Namespace

Show: