THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
package org.apache.kafka.common.security.ssl; import java.security.KeyStore; public interface KeyStoreLoader { /** * This loads the keystore. The keystore password will be fetched by whatever mechanism the implementation of this class chooses. * Example: It could use current ssl.keystore.password configuration if it chooses. * @return KeyStore object */ public KeyStore load(); /** * This returns the key's password. */ public String getKeyPassword(); /** * This method checks if the given keystore has been modified based on some criteria, typically last-modified timestamp. The definition of 'modified' is left to the * implementation. * @return true - If the keystore was modified as defined by the implementation; false otherwise */ public boolean modified(); } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
package org.apache.kafka.common.security.ssl; import java.security.KeyStore; public interface TrustStoreLoader { /** * This loads the truststore. The truststore password will be fetched by whatever mechanism the implementation of this class chooses. * Example: It could use current ssl.truststore.password configuration if it chooses. * @return KeyStore object */ public KeyStore load(); /** * This method checks if the given truststore has been modified based on some criteria, typically last-modified timestamp. The definition of 'modified' is left to the * implementation. * @return true - If the truststore was modified as defined by the implementation; false otherwise */ public boolean modified(); } |
...