javapns.communication.WrappedKeystore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javapns-jdk16 Show documentation
Show all versions of javapns-jdk16 Show documentation
Library to send notifications using APNS
The newest version!
package javapns.communication;
import java.io.*;
import java.security.*;
/**
* Special wrapper for a KeyStore.
*
* @author Sylvain Pedneault
*/
class WrappedKeystore extends InputStream {
private final KeyStore keystore;
public WrappedKeystore(KeyStore keystore) {
this.keystore = keystore;
}
@Override
public int read() throws IOException {
return 0;
}
public KeyStore getKeystore() {
return keystore;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy