ns

package
v0.0.0-...-d2687f3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const NameFormatURI = "urn:oasis:names:tc:SAML:2.0:attrname-format:uri"

Variables

View Source
var (
	Metadata          = NewNamespace("md", "urn:oasis:names:tc:SAML:2.0:metadata")
	SAML              = NewNamespace("saml", "urn:oasis:names:tc:SAML:2.0:assertion")
	SAMLP             = NewNamespace("samlp", "urn:oasis:names:tc:SAML:2.0:protocol")
	XMLDSignature     = NewNamespace("ds", "http://www.w3.org/2000/09/xmldsig#")
	XMLEncryption     = NewNamespace("xenc", "http://www.w3.org/2001/04/xmlenc#")
	XMLSchema         = NewNamespace("xs", "http://www.w3.org/2001/XMLSchema")
	XMLSchemaInstance = NewNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance")
	X500              = NewNamespace("x500", "urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500")
)

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	Prefix string
	URI    string
}

func NewNamespace

func NewNamespace(prefix, uri string) *Namespace

func (Namespace) AddPrefix

func (ns Namespace) AddPrefix(n string) string

Jump to

Keyboard shortcuts

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