package gapi-ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple OCaml client for Google Services
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.4.7.tar.gz
sha256=3a9e7ba4446b90f842c10dc2e49211c394c9f012715da01bb0b80baccabb41bb
md5=27919a0188772392e9b74bfd95fbaaa1
doc/gapi-ocaml.netstring-local/Netascii_armor/index.html
Module Netascii_armorSource
Messages with ASCII armor
There are various forms of ASCII-armored messages:
- PEM messages (privacy enhanced mail) - a historic message format
- OpenPGP messages. This type of message has a header, a BASE-64-encoded body, and a checksum.
- X.509 keys. These just use BASE-64.
Source
type armored_message = [ | `Plain of Netmime.mime_body| `Base64 of Netmime.mime_body| `OpenPGP of Netmime.mime_header * Netmime.mime_body * int
]Messages:
`Plain m: The bodymis written as-is`Base64 m: The bodymneeds to be BASE-64-encoded in order to create the ASCII armor`OpenPGP(h,m,chksum): There is a headerh, a bodymwhich will be BASE-64-encoded, and a checksumchksum
Source
type armored_message_ro = [ | `Plain of Netmime.mime_body_ro| `Base64 of Netmime.mime_body_ro| `OpenPGP of Netmime.mime_header_ro * Netmime.mime_body_ro * int
]The read-only version of armored_message
Which types of armor to decode, and how. The strings are the identifiers in the boundaries, e.g. include "PRIVACY-ENHANCED MESSAGE" if the boundaries are "-----BEGIN PRIVACY-ENHANCED MESSAGE-----" and "-----END PRIVACY-ENHANCED MESSAGE-----". For every type you can define the armor_type.
Parses the channel, and returns all messages that are enabled in the specification.
The channel is read line-by-line.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>