public void adjustStaticCertificate(Certificate copyFrom){
  if (this != UNSIGNED && this != EXPIRED) {
    throw new UnsupportedOperationException("Cannot adjust a non-static certificate's values");
  }
  commonName=copyFrom.commonName;
  organization=copyFrom.organization;
  validFrom=copyFrom.validFrom;
  validTo=copyFrom.validTo;
  valid=false;
}

public void adjustStaticCertificate ( Certificate copyFrom ) { if ( this != UNSIGNED && this != EXPIRED ) { throw new UnsupportedOperationException ( "Cannot adjust a non-static certificate's values" ) ; } commonName = copyFrom . commonName ; organization = copyFrom . organization ; validFrom = copyFrom . validFrom ; validTo = copyFrom . validTo ; valid = false ; }
copies the company information from a valid certificate to show on an invalid signature certificate .
