public CertId(X509Certificate issuerCert,SerialNumber serialNumber) throws IOException {
  this(issuerCert.getSubjectX500Principal(),issuerCert.getPublicKey(),serialNumber);
}

public CertId ( X509Certificate issuerCert , SerialNumber serialNumber ) throws IOException { this ( issuerCert . getSubjectX500Principal ( ) , issuerCert . getPublicKey ( ) , serialNumber ) ; }
creates a certid . the hash algorithm used is sha - 1 .
