public class

SigningCertificateInfo

extends Object
java.lang.Object
   ↳ sun.security.pkcs.SigningCertificateInfo

Class Overview

This class represents a signing certificate attribute. Its attribute value is defined by the following ASN.1 definition.


   id-aa-signingCertificate OBJECT IDENTIFIER ::= { iso(1)
     member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9)
     smime(16) id-aa(2) 12 }

   SigningCertificate ::=  SEQUENCE {
       certs       SEQUENCE OF ESSCertID,
       policies    SEQUENCE OF PolicyInformation OPTIONAL
   }

   ESSCertID ::=  SEQUENCE {
       certHash        Hash,
       issuerSerial    IssuerSerial OPTIONAL
   }

   Hash ::= OCTET STRING -- SHA1 hash of entire certificate

   IssuerSerial ::= SEQUENCE {
       issuer         GeneralNames,
       serialNumber   CertificateSerialNumber
   }

   PolicyInformation ::= SEQUENCE {
       policyIdentifier   CertPolicyId,
       policyQualifiers   SEQUENCE SIZE (1..MAX) OF
               PolicyQualifierInfo OPTIONAL }

   CertPolicyId ::= OBJECT IDENTIFIER

   PolicyQualifierInfo ::= SEQUENCE {
       policyQualifierId  PolicyQualifierId,
       qualifier        ANY DEFINED BY policyQualifierId }

   -- Implementations that recognize additional policy qualifiers MUST
   -- augment the following definition for PolicyQualifierId

   PolicyQualifierId ::= OBJECT IDENTIFIER ( id-qt-cps | id-qt-unotice )

 

Summary

Public Constructors
SigningCertificateInfo(byte[] ber)
Public Methods
void parse(byte[] bytes)
String toString()
Returns a string representation of the object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SigningCertificateInfo (byte[] ber)

Throws
IOException

Public Methods

public void parse (byte[] bytes)

Throws
IOException

public String toString ()

Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
  • a string representation of the object.