类 RawFileKeyReader
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.RawFileKeyReader
-
- 所有已实现的接口:
java.io.Serializable,org.apache.pulsar.client.api.CryptoKeyReader
public class RawFileKeyReader extends java.lang.Object implements org.apache.pulsar.client.api.CryptoKeyReaderExample function that provide a constructor with mapargument to initialize the CryptoKeyReader class used by pulsar function - 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 RawFileKeyReader(java.lang.String pubKeyFile, java.lang.String privKeyFile)RawFileKeyReader(java.util.Map<java.lang.String,java.lang.Object> conf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.apache.pulsar.client.api.EncryptionKeyInfogetPrivateKey(java.lang.String keyName, java.util.Map<java.lang.String,java.lang.String> keyMeta)org.apache.pulsar.client.api.EncryptionKeyInfogetPublicKey(java.lang.String keyName, java.util.Map<java.lang.String,java.lang.String> keyMeta)
-
-
-
方法详细资料
-
getPublicKey
public org.apache.pulsar.client.api.EncryptionKeyInfo getPublicKey(java.lang.String keyName, java.util.Map<java.lang.String,java.lang.String> keyMeta)- 指定者:
getPublicKey在接口中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> keyMeta)- 指定者:
getPrivateKey在接口中org.apache.pulsar.client.api.CryptoKeyReader
-
-