Class PrivateKeyReader

java.lang.Object
io.micronaut.mqtt.hivemq.ssl.PrivateKeyReader

@Internal public final class PrivateKeyReader extends Object
Reader for reading PKCS #1 and PKCS #8 private keys from PEM files.
Since:
3.0.0
Author:
Sven Kobow
  • Method Details

    • getPrivateKey

      public static PrivateKey getPrivateKey(io.micronaut.core.io.Readable keyFile, char[] password)