public abstract class Key extends AbstractBlock implements Serializable
Abstract class for all encryption key types.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
CRLF
Constructor and Description |
---|
Key() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
decrypt(byte[] encrypted) |
abstract byte[] |
encrypt(byte[] decrypted) |
fromBase64, fromHex, parse, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dumpValueNotation
toAsn1Object
public static final long serialVersionUID
public abstract byte[] decrypt(byte[] encrypted) throws IOException
IOException
public abstract byte[] encrypt(byte[] decrypted) throws IOException
IOException
Copyright © 2023. All rights reserved.