| Modifier and Type | Field and Description |
|---|---|
static CodecSpec |
BASE32
Base32 encoding specification.
|
static CodecSpec |
BASE32_UNPADDED
Unpadded base32 encoding specification.
|
static CodecSpec |
BASE64
Base64 encoding specification.
|
static CodecSpec |
BASE64_UNPADDED
Unpadded base64 encoding specification.
|
static CodecSpec |
BASE64_URLSAFE
URL-safe base64 encoding specification.
|
static CodecSpec |
HEX
Hexadecimal encoding specification.
|
static CodecSpec |
HEX_LOWER
Lowercase hexadecimal encoding specification.
|
static CodecSpec |
HEX_UPPER
Uppercase hexadecimal encoding specification.
|
| Constructor and Description |
|---|
CodecSpec(String encoding)
Creates a new instance of the given encoding.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
Codec |
newInstance()
Creates a new instance of the cryptographic primitive described by this specification.
|
String |
toString() |
public static final CodecSpec HEX
public static final CodecSpec HEX_LOWER
public static final CodecSpec HEX_UPPER
public static final CodecSpec BASE32
public static final CodecSpec BASE32_UNPADDED
public static final CodecSpec BASE64
public static final CodecSpec BASE64_URLSAFE
public static final CodecSpec BASE64_UNPADDED
public CodecSpec(String encoding)
encoding - Name of encoding.public String getAlgorithm()
getAlgorithm in interface Spec<Codec>public Codec newInstance()
SpecnewInstance in interface Spec<Codec>Copyright © 2003-2024 Virginia Tech. All Rights Reserved.