| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static X509Certificate | |
| public static PrivateKey | |
| public static PublicKey | |
| public static 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 |
| public static String | |
| public static String | |
| public static String | |
| public static byte[] | |
| public static String |
| BEGIN_CERT | back to summary |
|---|---|
| public static final String BEGIN_CERT | |
| BEGIN_PRIVATE_KEY | back to summary |
|---|---|
| public static final String BEGIN_PRIVATE_KEY | |
| BEGIN_RSA_PRIVATE_KEY | back to summary |
|---|---|
| public static final String BEGIN_RSA_PRIVATE_KEY | |
| END_CERT | back to summary |
|---|---|
| public static final String END_CERT | |
| END_PRIVATE_KEY | back to summary |
|---|---|
| public static final String END_PRIVATE_KEY | |
| END_RSA_PRIVATE_KEY | back to summary |
|---|---|
| public static final String END_RSA_PRIVATE_KEY | |
| PemUtils | back to summary |
|---|---|
| public PemUtils() | |
| addPrivateKeyBeginEnd | back to summary |
|---|---|
| public static String addPrivateKeyBeginEnd(String privateKeyPem) | |
| addRsaPrivateKeyBeginEnd | back to summary |
|---|---|
| public static String addRsaPrivateKeyBeginEnd(String privateKeyPem) | |
| decodeCertificate | back to summary |
|---|---|
| public static X509Certificate decodeCertificate(String cert) Decode a X509 Certificate from a PEM string | |
| decodePrivateKey | back to summary |
|---|---|
| public static PrivateKey decodePrivateKey(String pem) Decode a Private Key from a PEM string | |
| decodePublicKey | back to summary |
|---|---|
| public static PublicKey decodePublicKey(String pem) Decode a Public Key from a PEM string | |
| decodePublicKey | back to summary |
|---|---|
| public static PublicKey decodePublicKey(String pem, String type) Decode a Public Key from a PEM string | |
| encodeCertificate | back to summary |
|---|---|
| public static String encodeCertificate(Certificate certificate) Encode a X509 Certificate to a PEM string | |
| encodeKey | back to summary |
|---|---|
| public static String encodeKey(Key key) Encode a Key to a PEM string | |
| generateThumbprint | back to summary |
|---|---|
| public static String generateThumbprint(String[] certChain, String encoding) throws NoSuchAlgorithmException | |
| pemToDer | back to summary |
|---|---|
| public static byte[] pemToDer(String pem) | |
| removeBeginEnd | back to summary |
|---|---|
| public static String removeBeginEnd(String pem) | |