Understanding Public Key Cryptography Standards PKCS

Public Key Cryptography Standards (PKCS) is used to provide basic interoperability for applications that employ public-key cryptography. Taken together, PKCS defines a set of low-level standardized formats for the secure exchange of arbitrary data. For instance, PKCS defines a standard format for an encrypted piece of data, a signed piece of data, and so on.

Table 14-3 outlines a number of PKCS standards.

Table 14-3 PKCS Standards

Table 14-3 PKCS Standards

Standard Number

Description

PKCS #1

RSA Cryptography Standard

PKCS #3

DH Key Agreement Standard

PKCS #5

Password-Based Cryptography Standard

PKCS #6

Extended-Certificate Syntax Standard

PKCS #7

Cryptographic Message Syntax Standard

PKCS #8

Private Key Information Syntax Standard

PKCS #10

Certification Request Syntax Standard

PKCS #12

Personal Information Exchange Syntax Standard

PKCS #13

Elliptic Curve Cryptography Standard

PKCS #15

Cryptographic Token Information Format Standard

Now that you have a sense of these standards and the various areas that they address, let's examine a couple of them in greater detail:

■ PKCS #7: The Cryptographic Message Syntax Standard defines the syntax of several kinds of cryptographically protected messages. This includes defining the standard for encrypted messages and messages with digital signatures. One place that we see PKCS #7 extensively is S/MIME. PKCS #7 is the basis for S/MIME secure e-mail specification and as such has been widely implemented. PKCS #7 is not limited to working with mail messages. It also has become a basis for message security in a number of diverse systems. PKCS #7 provides message security in the Secure Electronic Transaction (SET) specifications for bank card payments, the World Wide Web Consortium (W3C) digital signature initiative, and PKCS #12, the Personal Information Exchange Syntax Standard.

■ PKCS #10: The Certification Request Syntax Standard defines the syntax for how certification requests will be made in a PKI. Certification requests are made up of various parts: the distinguished name (DN), a public key, and optionally a set of attributes. If included, these attributes are signed by the entity requesting certification.

All certification requests are sent to a CA. The CA must accept the request and verify the authenticity of the information provided by the applicant. After this occurs, the CA transforms each request into an X.509 public-key certificate. When the CA returns the newly signed certificate, it is presented in a specific form; a PKCS #7 message is one possibility.

If this optional set of attributes is provided, other application-specific information about a given entity may be added to enhance security and flexibility. For example, if a "challenge password" is added, the entity can later request certificate revocation. In addition to these electronic means of certificate requests, CAs may require nonelectronic forms of request and may return nonelectronic replies.

Continue reading here: Exploring the Role of Certificate Authorities and Registration Authorities in a PKI

Was this article helpful?

0 0