extensions

package
v0.0.0-...-10e2fbd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

* Copyright (c) 2023 Holger de Carne and contributors, All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

* Copyright (c) 2023 Holger de Carne and contributors, All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

* Copyright (c) 2023 Holger de Carne and contributors, All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

* Copyright (c) 2023 Holger de Carne and contributors, All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const AuthorityKeyIdentifierExtensionName = "AuthorityKeyIdentifier"
View Source
const AuthorityKeyIdentifierExtensionOID = "2.5.29.35"
View Source
const BasicConstraintsExtensionName = "BasicConstraints"
View Source
const BasicConstraintsExtensionOID = "2.5.29.19"
View Source
const ExtKeyUsageExtensionName = "ExtKeyUsage"
View Source
const ExtKeyUsageExtensionOID = "2.5.29.37"
View Source
const KeyUsageExtensionName = "KeyUsage"
View Source
const KeyUsageExtensionOID = "2.5.29.15"
View Source
const SubjectKeyIdentifierExtensionName = "SubjectKeyIdentifier"
View Source
const SubjectKeyIdentifierExtensionOID = "2.5.29.14"

Variables

This section is empty.

Functions

func BasicConstraintsString

func BasicConstraintsString(isCA bool, maxPathLen int, maxPathLenZero bool) string

func ExtKeyUsageString

func ExtKeyUsageString(extKeyUsage []x509.ExtKeyUsage, unknownExtKeyUsage []asn1.ObjectIdentifier) string

func KeyIdentifierString

func KeyIdentifierString(keyId []byte) string

func KeyUsageString

func KeyUsageString(keyUsage x509.KeyUsage) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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