Class DefaultCryptoKeyReader

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.pulsar.client.api.CryptoKeyReader

    public class DefaultCryptoKeyReader
    extends java.lang.Object
    implements org.apache.pulsar.client.api.CryptoKeyReader
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static DefaultCryptoKeyReaderBuilder builder()  
      org.apache.pulsar.client.api.EncryptionKeyInfo getPrivateKey​(java.lang.String keyName, java.util.Map<java.lang.String,​java.lang.String> metadata)  
      org.apache.pulsar.client.api.EncryptionKeyInfo getPublicKey​(java.lang.String keyName, java.util.Map<java.lang.String,​java.lang.String> metadata)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPublicKey

        public org.apache.pulsar.client.api.EncryptionKeyInfo getPublicKey​(java.lang.String keyName,
                                                                           java.util.Map<java.lang.String,​java.lang.String> metadata)
        Specified by:
        getPublicKey in interface org.apache.pulsar.client.api.CryptoKeyReader
      • getPrivateKey

        public org.apache.pulsar.client.api.EncryptionKeyInfo getPrivateKey​(java.lang.String keyName,
                                                                            java.util.Map<java.lang.String,​java.lang.String> metadata)
        Specified by:
        getPrivateKey in interface org.apache.pulsar.client.api.CryptoKeyReader