Class 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:
    Serialized Form
    • Method Detail

      • getEncryptedFilePassword

        public char[] getEncryptedFilePassword()
        The password for the encrypted file.
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object