public class FileHelper extends Object
Constructor and Description |
---|
FileHelper() |
Modifier and Type | Method and Description |
---|---|
static Path |
generatFile(Date notBefore,
Path path,
org.iqtig.pseudonymisierung.beans.CertificateIdentity identity,
String fileExtension)
Erzeugt aus dem NotBefore Datum eines Zertifikas und der
CertificateIdentity einen Path . |
static X509Certificate |
readCertificate(Path certificate)
Liest ein Zertifkat ein.
|
static KeyStore |
readPkcs12KeyStore(Path pkcs12file,
String password)
Liste einen
KeyStore aus einer PKCS12-Datei. |
public static Path generatFile(Date notBefore, Path path, org.iqtig.pseudonymisierung.beans.CertificateIdentity identity, String fileExtension)
CertificateIdentity
einen Path
.public static X509Certificate readCertificate(Path certificate) throws org.iqtig.pseudonymisierung.exception.PseudonymisationException
certificate
- Path
X509Certificate
org.iqtig.pseudonymisierung.exception.PseudonymisationException
- im FehlerfallCopyright © 2017. All rights reserved.