Persits Software, Inc. Web Site
Main Menu:  Home |  Tasks |  Object Reference |  Crypto 101 |  FAQ |  Download & Buy |  Clients |  Live Demo |  Contact
 Navigator:  Home |  Object Reference |  CryptoName Object
CryptoBlob CryptoStore
  CryptoName Object
The CryptoName object provides a convenient way to access a certificate's Issuer and Subject information. which is a collection of tagged components. The most common tags are CN (common name), E (email), O (organization), OU (organizational unit), L (locale), S (state), and C (country).

Properties Methods
Name
Item

  CryptoName Properties

Name As String (Read-Only)

Looks for and returns the first non-empty name component in the subject or issuer in the following order: CN, OU, O, E. If all these components are empty, returns an empty string.

  CryptoName Methods


Function Item ( Optional Index = "" ) As String
If Index is omitted, returns the issuer or subject information in the form of a CR/LF-separated list of tagged components.

If Index is specified, looks for and returns the component (or list of components) which tag is specified by Index.

This is a default method, so its name can be omitted.

Usage:

Subject = Cert.Subject.Item (or simply Cert.Subject)

or

IssuerCommonName = Cert.Issuer("CN")

Related Task: Manage Certificates and Certificate Stores.


CryptoStore CryptoBlob

Search this Site
  This site is owned and maintained by Persits Software, Inc. Copyright © 2000 - 2009. All Rights Reserved.