pkcs10

package module
v0.0.0-...-71d0662 Latest Latest
Warning

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

Go to latest
Published: May 27, 2013 License: BSD-3-Clause Imports: 8 Imported by: 0

README

pkcs10

pkcs10 implements ASN.1 serialization of PKCS #10 Certificate Signing Requests.

Documentation

Installation

go get github.com/cupcake/pkcs10

Documentation

Overview

Package pkcs10 implements ASN.1 serialization of PKCS #10 Certificate Signing Requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Subject      pkix.Name
	EmailAddress string

	// Subject Alternate Name values
	AltDNSNames       []string
	AltEmailAddresses []string
	AltIPAddresses    []net.IP
}

Request represents a basic CSR.

func (*Request) Marshal

func (req *Request) Marshal(key *rsa.PrivateKey) ([]byte, error)

Marshal signs and DER encodes a request using the provided key.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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