ninja_asn1

Last updated:

0 purchases

ninja_asn1 Image
ninja_asn1 Images
Add to Cart

Description:

ninja asn1

ninja_asn1 #
Dart library that provides simple and elegant way to encode and decode ASN1
Usage #
void main() {
final integer = BigInt.parse(
'20620915813302906913761247666337410938401372343750709187749515126790853245302593205328533062154315527282056175455193812046134139935830222032257750866653461677566720508752544506266533943725970345491747964654489405936145559121373664620352701801574863309087932865304205561439525871868738640172656811470047745445089832193075388387376667722031640892525639171016297098395245887609359882693921643396724693523583076582208970794545581164952427577506035951122669158313095779596666008591745562008787129160302313244329988240795948461701615228062848622019620094307696506764461083870202605984497833670577046553861732258592935325691');

final original = ASN1Sequence(
[ASN1Integer(integer), ASN1Null(), ASN1Boolean(true)]);
final encoded = base64Encode(original.encode());
print(encoded);
final deocded = ASN1Object.decode(encoded);
print(deocded);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.