java.lang.Object
nl.altindag.desidero.OSCertificateUtils
nl.altindag.desidero.MacCertificateUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ProcesscreateProcess(String command) private static ProcesscreateProcessForGettingCertificates(String keychainFilePath) Uses a mac command while using bash to get the certificates from keychain with: security find-certificateprivate static Process(package private) List<Certificate> (package private) static MacCertificateUtilsMethods inherited from class nl.altindag.desidero.OSCertificateUtils
createKeyStoreIfAvailable, findPathsWithSamePrefix, getCertificates, loadCertificate
-
Field Details
-
INSTANCE
-
SECURITY_EXECUTABLE
- See Also:
-
SYSTEM_ROOT_KEYCHAIN_FILE
- See Also:
-
KEYCHAIN_LOOKUP_COMMANDS
-
MAC_CERTIFICATE_PATHS
-
MAC_CERTIFICATE_PATHS_TO_RESOLVE
-
EMPTY
- See Also:
-
SPACE
- See Also:
-
DOUBLE_QUOTES
- See Also:
-
-
Constructor Details
-
MacCertificateUtils
private MacCertificateUtils()
-
-
Method Details
-
getTrustStores
- Specified by:
getTrustStoresin classOSCertificateUtils
-
getCertificates
List<Certificate> getCertificates() -
getKeychainFiles
-
createProcessForGettingKeychainFile
-
createProcessForGettingCertificates
Uses a mac command while using bash to get the certificates from keychain with: security find-certificateIt uses the following CLI options: -a Find all matching certificates, not just the first one -p Output certificate in pem format -
createProcess
-
getInstance
-