public ExtendedKeyUsageExtension(Boolean critical,Vector<ObjectIdentifier> keyUsages) throws IOException {
  this.keyUsages=keyUsages;
  this.extensionId=PKIXExtensions.ExtendedKeyUsage_Id;
  this.critical=critical.booleanValue();
  encodeThis();
}

public ExtendedKeyUsageExtension ( Boolean critical , Vector < ObjectIdentifier > keyUsages ) throws IOException { this . keyUsages = keyUsages ; this . extensionId = PKIXExtensions . ExtendedKeyUsage_Id ; this . critical = critical . booleanValue ( ) ; encodeThis ( ) ; }
create a extendedkeyusageextension object from a vector of keyusages with specified criticality .
