0.1.17 • Published 4 months ago

pem-codec v0.1.17

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
4 months ago

PEM Codec

Unittests

A pure JS module intended primarily for use in the browser, to encode and decode PEM style ascii armoured data.

The could be a PEM message, a openGPG message or a X509 certificate or key. All of these types of objects use the same basic data format and can share this module.

PEM Codec has no dependencies on the browser environment apart from the atob/btoa Base64 funtions.

A PEM_Message object can be initialised as simply as o = new PEM_Message({ type: "TEST OBJECT", string_data: "abcde" });

The encoded string of the object can be extracted with encode like: var encoded = o.encode();

And it can be roundtripped back to an object as simply as: var o2 = PEM_Message.decode(encoded);

0.1.17

4 months ago

0.1.16

8 months ago

0.1.14

12 months ago

0.1.15

12 months ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.11

1 year ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago