| Modifier and Type | Field and Description |
|---|---|
static CodecSpec |
BASE64
Base64 encoding specification.
|
static CodecSpec |
HEX
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 BASE64
public CodecSpec(String encoding)
encoding - Name of encoding.public String getAlgorithm()
getAlgorithm in interface Spec<Codec>public Codec newInstance()
newInstance in interface Spec<Codec>Copyright © 2016 JBoss by Red Hat. All rights reserved.