Class FileImportSpecification

java.lang.Object
de.xima.fc.certificate.mgmt.io.FileImportSpecification
All Implemented Interfaces:
Serializable

public final class FileImportSpecification extends Object implements Serializable
Model defining how to import a cryptographic file.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Method Details

    • builder

      public static FileImportSpecification.Builder builder()
    • getEncryptedFilePassword

      public char[] getEncryptedFilePassword()
      The password for the encrypted file.
    • getKeyStoreEntryImportSpecifications

      public Set<KeyStoreEntryImportSpecification> getKeyStoreEntryImportSpecifications()
      The set of key store entry import specifications.
    • getSubjectOverride

      public X501DistinguishedName getSubjectOverride()
      Optional subject distinguished name override for the file.
    • isUpdateFailsOnSubjectMismatch

      public boolean isUpdateFailsOnSubjectMismatch()
      If true, the import will fail if the subject of the imported certificate does not match AND no subject override is defined.
    • isUpdateFailsOnCertificateUsageMismatch

      public boolean isUpdateFailsOnCertificateUsageMismatch()
      If true, the import will fail if the usage of the imported certificate does not match.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object