Package de.gematik.rbellogger.util
Class CryptoLoader
- java.lang.Object
-
- de.gematik.rbellogger.util.CryptoLoader
-
public class CryptoLoader extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CryptoLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.cert.X509CertificategetCertificateFromP12(byte[] crt, java.lang.String p12Password)static java.security.cert.X509CertificategetCertificateFromPem(byte[] crt)static java.security.PublicKeygetEcPublicKeyFromBytes(byte[] keyBytes)static RbelPkiIdentitygetIdentityFromP12(byte[] p12FileContent, java.lang.String p12Password)
-
-
-
Method Detail
-
getCertificateFromP12
public static java.security.cert.X509Certificate getCertificateFromP12(byte[] crt, java.lang.String p12Password)
-
getCertificateFromPem
public static java.security.cert.X509Certificate getCertificateFromPem(byte[] crt)
-
getIdentityFromP12
public static RbelPkiIdentity getIdentityFromP12(byte[] p12FileContent, java.lang.String p12Password)
-
getEcPublicKeyFromBytes
public static java.security.PublicKey getEcPublicKeyFromBytes(byte[] keyBytes)
-
-