Class ServerConfiguration

java.lang.Object
org.apache.kerby.kerberos.kerb.client.preauth.pkinit.ServerConfiguration

public class ServerConfiguration extends Object
Server configuration settings. TODO - Whether to use user cert vs. SAN binding. TODO - What trusted roots to use. TODO - The minimum allowed enc_types.
Version:
$Rev$, $Date$
Author:
Apache Directory Project
  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration()
  • Method Details

    • isDhUsed

      public boolean isDhUsed()
      Returns:
      the isDhUsed
    • setDhUsed

      public void setDhUsed(boolean isDhUsed)
      Parameters:
      isDhUsed - the isDhUsed to set
    • getDhGroup

      public DHParameterSpec getDhGroup()
      Returns:
      the dhGroup
    • setDhGroup

      public void setDhGroup(DHParameterSpec dhGroup)
      Parameters:
      dhGroup - the dhGroup to set
    • isDhKeysReused

      public boolean isDhKeysReused()
      Returns:
      the isDhKeysReused
    • setDhKeysReused

      public void setDhKeysReused(boolean isDhKeysReused)
      Parameters:
      isDhKeysReused - the isDhKeysReused to set
    • getDhKeyExpiration

      public long getDhKeyExpiration()
      Returns:
      the dhKeyExpiration
    • setDhKeyExpiration

      public void setDhKeyExpiration(long dhKeyExpiration)
      Parameters:
      dhKeyExpiration - the dhKeyExpiration to set
    • getDhNonceLength

      public int getDhNonceLength()
      Returns:
      the dhNonceLength
    • setDhNonceLength

      public void setDhNonceLength(int dhNonceLength)
      Parameters:
      dhNonceLength - the dhNonceLength to set