internal

package
Version: v2.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package internal contains internal methods and constants.

Index

Constants

View Source
const CreationTimeOffset = int64(60 * 60 * 24 * 2)

CreationTimeOffset stores the amount of seconds that a signature may be created in the future, to compensate for clock skew.

Variables

View Source
var ArmorHeaders = map[string]string{
	"Version": constants.ArmorHeaderVersion,
	"Comment": constants.ArmorHeaderComment,
}

ArmorHeaders is a map of default armor headers.

Functions

func CanonicalizeAndTrim added in v2.1.2

func CanonicalizeAndTrim(text string) string

func Unarmor

func Unarmor(input string) (*armor.Block, error)

Unarmor unarmors an armored string.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL