| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private static final Map | |
| private JcaJceHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private KeyFactory | |
| public KeyPair | Returns: the result of the conversionthe PEMKeyPair to be converted. keyPair)Convert a PEMKeyPair into a KeyPair, returning the converted result. |
| public PrivateKey | |
| public PublicKey | |
| public JcaPEMKeyConverter | Returns: the current builder instance.object identifier used to identify the public/private key algOid, String algorithm name we want to map to in the provider. algorithmName)Set the algorithm mapping for a particular OID to the given algorithm name. |
| public JcaPEMKeyConverter | |
| public JcaPEMKeyConverter |
| algorithms | back to summary |
|---|---|
| private final Map<K, V> algorithms | |
| baseMappings | back to summary |
|---|---|
| private static final Map<K, V> baseMappings | |
| helper | back to summary |
|---|---|
| private JcaJceHelper helper | |
| JcaPEMKeyConverter | back to summary |
|---|---|
| public JcaPEMKeyConverter() | |
| getKeyFactory | back to summary |
|---|---|
| private KeyFactory getKeyFactory(AlgorithmIdentifier algId) throws NoSuchAlgorithmException, NoSuchProviderException | |
| getKeyPair | back to summary |
|---|---|
| public KeyPair getKeyPair(PEMKeyPair keyPair) throws PEMException Convert a PEMKeyPair into a KeyPair, returning the converted result.
| |
| getPrivateKey | back to summary |
|---|---|
| public PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) throws PEMException | |
| getPublicKey | back to summary |
|---|---|
| public PublicKey getPublicKey(SubjectPublicKeyInfo publicKeyInfo) throws PEMException | |
| setAlgorithmMapping | back to summary |
|---|---|
| public JcaPEMKeyConverter setAlgorithmMapping(ASN1ObjectIdentifier algOid, String algorithmName) Set the algorithm mapping for a particular OID to the given algorithm name.
| |
| setProvider | back to summary |
|---|---|
| public JcaPEMKeyConverter setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JcaPEMKeyConverter setProvider(String providerName) | |