Package de.xima.fc.certificate.mgmt.io
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileImportSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileImportSpecification.Builderbuilder()booleanequals(Object o)char[]getEncryptedFilePassword()The password for the encrypted file.Set<KeyStoreEntryImportSpecification>getKeyStoreEntryImportSpecifications()The set of key store entry import specifications.X501DistinguishedNamegetSubjectOverride()Optional subject distinguished name override for the file.inthashCode()booleanisUpdateFailsOnCertificateUsageMismatch()If true, the import will fail if the usage of the imported certificate does not match.booleanisUpdateFailsOnSubjectMismatch()If true, the import will fail if the subject of the imported certificate does not match AND no subject override is defined.StringtoString()
-
-
-
Method Detail
-
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.
-
-