Package de.mhus.lib.core.crypt.pem
Class SecurityPrivateKey
- java.lang.Object
-
- de.mhus.lib.core.crypt.pem.SecurityPrivateKey
-
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable
public class SecurityPrivateKey extends Object implements PrivateKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityPrivateKey(PemBlock pem, SecureString passphrase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()byte[]getEncoded()StringgetFormat()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Constructor Detail
-
SecurityPrivateKey
public SecurityPrivateKey(PemBlock pem, SecureString passphrase) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
-