public CertId(DerInputStream derIn) throws IOException {
  hashAlgId=AlgorithmId.parse(derIn.getDerValue());
  issuerNameHash=derIn.getOctetString();
  issuerKeyHash=derIn.getOctetString();
  certSerialNumber=new SerialNumber(derIn);
}

public CertId ( DerInputStream derIn ) throws IOException { hashAlgId = AlgorithmId . parse ( derIn . getDerValue ( ) ) ; issuerNameHash = derIn . getOctetString ( ) ; issuerKeyHash = derIn . getOctetString ( ) ; certSerialNumber = new SerialNumber ( derIn ) ; }
creates a certid from its asn . 1 der encoding .
