public SubjectAlternativeNameExtension(Boolean critical,GeneralNames names) throws IOException {
  this.names=names;
  this.extensionId=PKIXExtensions.SubjectAlternativeName_Id;
  this.critical=critical.booleanValue();
  encodeThis();
}

public SubjectAlternativeNameExtension ( Boolean critical , GeneralNames names ) throws IOException { this . names = names ; this . extensionId = PKIXExtensions . SubjectAlternativeName_Id ; this . critical = critical . booleanValue ( ) ; encodeThis ( ) ; }
create a subjectalternativenameextension with the specified criticality and generalnames .
