public static CertificateID createCertId(BigInteger subjectSerialNumber,X509Certificate issuer) throws Exception {
  return new CertificateID(createDigestCalculator(SHA1_ID),new X509CertificateHolder(issuer.getEncoded()),subjectSerialNumber);
}

public static CertificateID createCertId ( BigInteger subjectSerialNumber , X509Certificate issuer ) throws Exception { return new CertificateID ( createDigestCalculator ( SHA1_ID ) , new X509CertificateHolder ( issuer . getEncoded ( ) ) , subjectSerialNumber ) ; }
creates a new certificate id instance ( using sha - 1 digest calculator ) for the specified subject certificate serial number and issuer certificate .
