PemCodec class
A Codec for encoding and decoding PEM blocks with a given PemLabel.
When decoding instances of this class will throw NoPemBlockFoundException if no PEM blocks are found. However, if multiple blocks are present the decoder will simply return the first.
Constructors
Properties
-
decoder
→ Converter<
String, List< int> > -
Returns a Converter for decoding a single PEM block.
no setteroverride
-
encoder
→ Converter<
List< int> , String> -
Return a Converter for decoding a single PEM block.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
String, List< int> > -
Inverts
this
.no setterinherited - label → PemLabel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
String encoded) → List< int> -
Decodes
encoded
data.inherited -
encode(
List< int> input) → String -
Encodes
input
.inherited -
fuse<
R> (Codec< String, R> other) → Codec<List< int> , R> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited