Class CryptographicFileFormatUtil
- java.lang.Object
-
- de.xima.fc.cryptography.BouncyCastleSupport
-
- de.xima.fc.certificate.ms.impl.util.CryptographicFileFormatUtil
-
public final class CryptographicFileFormatUtil extends BouncyCastleSupport
Utility class for detecting cryptographic file formats based on their content.- Since:
- 8.5.0
- Author:
- tobias
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ECryptoFileFormatdetectFormat(byte[] data, char[] password)Detect cryptographic file format based on signatures and structure-
Methods inherited from class de.xima.fc.cryptography.BouncyCastleSupport
buildSignedCertificate, createCMSContentEncryptorBuilder, createContentSigner, createJceKeyTransRecipientInfoGenerator, createKeyFactory, createKeyPairGenerator, createKeyStore, createOpenSSLPKCS8DecryptorProviderBuilder, createPEMKeyConverter, createSignature, createX509CertificateConverter, createX509CertificateFactory
-
-
-
-
Method Detail
-
detectFormat
public static ECryptoFileFormat detectFormat(byte[] data, char[] password)
Detect cryptographic file format based on signatures and structure
-
-