| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public X509Certificate | |
| public abstract PrivateKey | |
| public PublicKey | |
| public PublicKey | Returns: The public key or nullThe pem encoded pblic key pem, String The type of the key (RSA, EC,...) type)Decode a Public Key from a PEM string |
| protected abstract String | |
| public String | |
| public String | |
| public String | |
| private byte[] | |
| public byte[] | |
| public String |
| PemUtilsProvider | back to summary |
|---|---|
| public PemUtilsProvider() | |
| decodeCertificate | back to summary |
|---|---|
| public X509Certificate decodeCertificate(String cert) Decode a X509 Certificate from a PEM string | |
| decodePrivateKey | back to summary |
|---|---|
| public abstract PrivateKey decodePrivateKey(String pem) Decode a Private Key from a PEM string | |
| decodePublicKey | back to summary |
|---|---|
| public PublicKey decodePublicKey(String pem) Decode a Public Key from a PEM string | |
| decodePublicKey | back to summary |
|---|---|
| public PublicKey decodePublicKey(String pem, String type) Decode a Public Key from a PEM string | |
| encode | back to summary |
|---|---|
| protected abstract String encode(Object obj) | |
| encodeCertificate | back to summary |
|---|---|
| public String encodeCertificate(Certificate certificate) Encode a X509 Certificate to a PEM string | |
| encodeKey | back to summary |
|---|---|
| public String encodeKey(Key key) Encode a Key to a PEM string | |
| generateThumbprint | back to summary |
|---|---|
| public String generateThumbprint(String[] certChain, String encoding) throws NoSuchAlgorithmException | |
| generateThumbprintBytes | back to summary |
|---|---|
| private byte[] generateThumbprintBytes(String[] certChain, String encoding) throws NoSuchAlgorithmException | |
| pemToDer | back to summary |
|---|---|
| public byte[] pemToDer(String pem) | |
| removeBeginEnd | back to summary |
|---|---|
| public String removeBeginEnd(String pem) | |