Package net.messagevortex.asn1
Class Key
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.Key
- All Implemented Interfaces:
Serializable,Block,Dumpable
- Direct Known Subclasses:
AsymmetricKey,SymmetricKey
Abstract class for all encryption key types.
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.messagevortex.asn1.AbstractBlock
fromBase64, fromHex, parse, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.messagevortex.asn1.Block
dumpValueNotationMethods inherited from interface net.messagevortex.asn1.Dumpable
toAsn1Object
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
decrypt
- Throws:
IOException
-
encrypt
- Throws:
IOException
-