Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestMethod ¶
type DigestMethod struct {
Algorithm string `xml:",attr,omitempty"`
}
DigestMethod is a digest type specification.
type EncryptionMethod ¶
type EncryptionMethod struct {
Algorithm string `xml:"Algorithm,attr"`
}
EncryptionMethod represents the XMLSEC object of the same name.
type EndpointReference ¶
type EndpointReference struct { XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing EndpointReference"` Address string `xml:"http://www.w3.org/2005/08/addressing Address"` }
EndpointReference represents WSA addressing endpoint reference.
type EntityDescriptor ¶
type EntityDescriptor struct { XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:metadata EntityDescriptor"` ID *string `xml:"ID,attr,omitempty"` ValidUntil *time.Time `xml:"validUntil,attr,omitempty"` CacheDuration *time.Time `xml:"cacheDuration,attr,omitempty"` Signature *etree.Element `xml:"Signature,omitempty"` // SAML 2.0 8.3.6 Entity Identifier could be used to represent issuer EntityID string `xml:"entityID,attr"` Extensions *Extensions `xml:"Extensions,omitempty"` RoleDescriptor []*RoleDescriptor `xml:"RoleDescriptor,omitempty"` }
EntityDescriptor is a WS-Federation entity descriptor.
type Extensions ¶
type Extensions struct { DigestMethod *DigestMethod `xml:",omitempty"` SigningMethod *SigningMethod `xml:",omitempty"` }
Extensions is a list of extensions.
type KeyDescriptor ¶
type KeyDescriptor struct { Use string `xml:"use,attr"` KeyInfo *KeyInfo `xml:"http://www.w3.org/2000/09/xmldsig# KeyInfo"` EncryptionMethods []*EncryptionMethod `xml:"EncryptionMethod"` }
KeyDescriptor represents the XMLSEC object of the same name.
type KeyInfo ¶
type KeyInfo struct { XMLName xml.Name `xml:"http://www.w3.org/2000/09/xmldsig# KeyInfo"` X509Data *X509Data `xml:"X509Data"` }
KeyInfo represents the XMLSEC object of the same name.
type PassiveRequestorEndpoint ¶
type PassiveRequestorEndpoint struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsfed/federation/200706 PassiveRequestorEndpoint"` EndpointReference *EndpointReference `xml:"EndpointReference"` }
PassiveRequestorEndpoint represents WS Federation Passive Requestor Endpoint.
type RoleDescriptor ¶
type RoleDescriptor struct { ID string `xml:",attr,omitempty"` Type string `xml:"http://www.w3.org/2001/XMLSchema-instance type,attr"` ValidUntil *time.Time `xml:"validUntil,attr,omitempty"` CacheDuration time.Duration `xml:"cacheDuration,attr,omitempty"` Signature *etree.Element `xml:"Signature,omitempty"` KeyDescriptors []*KeyDescriptor `xml:"KeyDescriptor,omitempty"` PassiveRequestorEndpoint *PassiveRequestorEndpoint `xml:"PassiveRequestorEndpoint,omitempty"` }
RoleDescriptor is a role descriptor.
type SigningMethod ¶
type SigningMethod struct { Algorithm string `xml:",attr"` MinKeySize string `xml:"MinKeySize,attr,omitempty"` MaxKeySize string `xml:"MaxKeySize,attr,omitempty"` }
SigningMethod is a signing type specification.
type X509Certificate ¶
type X509Certificate struct { XMLName xml.Name `xml:"http://www.w3.org/2000/09/xmldsig# X509Certificate"` Data string `xml:",chardata"` }
X509Certificate represents the XMLSEC object of the same name.
type X509Data ¶
type X509Data struct { XMLName xml.Name `xml:"http://www.w3.org/2000/09/xmldsig# X509Data"` X509Certificates []*X509Certificate `xml:"X509Certificate"` }
X509Data represents the XMLSEC object of the same name.