Class SignerKeystore

java.lang.Object
swiss.trustbroker.federation.xmlconfig.SignerStore
swiss.trustbroker.federation.xmlconfig.SignerKeystore
All Implemented Interfaces:
Serializable

public class SignerKeystore extends SignerStore implements Serializable
Keystore configuration.
See Also:
  • Constructor Details

    • SignerKeystore

      protected SignerKeystore(SignerKeystore.SignerKeystoreBuilder<?,?> b)
    • SignerKeystore

      public SignerKeystore()
    • SignerKeystore

      public SignerKeystore(String certPath, String keyPath, String alias, String certType, String password)
      Creates a new SignerKeystore instance.
      Parameters:
      certPath - Path of the certificate.
      keyPath - Path of the key.
      alias - If the store contains multiple objects and a specific one shall be used.
      certType - If the store format cannot be derived from the file extension.
      password - Password for the store.
  • Method Details

    • builder

      public static SignerKeystore.SignerKeystoreBuilder<?,?> builder()
    • getCertPath

      public String getCertPath()
      Path of the certificate.
      Specified by:
      getCertPath in class SignerStore
    • getKeyPath

      public String getKeyPath()
      Path of the key.
      Specified by:
      getKeyPath in class SignerStore
    • getAlias

      public String getAlias()
      If the store contains multiple objects and a specific one shall be used.
      Specified by:
      getAlias in class SignerStore
    • getCertType

      public String getCertType()
      If the store format cannot be derived from the file extension.
      Specified by:
      getCertType in class SignerStore
    • getPassword

      public String getPassword()
      Password for the store.
      Specified by:
      getPassword in class SignerStore
    • setCertPath

      public void setCertPath(String certPath)
      Path of the certificate.
    • setKeyPath

      public void setKeyPath(String keyPath)
      Path of the key.
    • setAlias

      public void setAlias(String alias)
      If the store contains multiple objects and a specific one shall be used.
    • setCertType

      public void setCertType(String certType)
      If the store format cannot be derived from the file extension.
    • setPassword

      public void setPassword(String password)
      Password for the store.
    • toString

      public String toString()
      Overrides:
      toString in class SignerStore
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SignerStore
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class SignerStore
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SignerStore