Documentation
¶
Index ¶
- Constants
- func ConfigureContext(context xml.Context)
- func GetWsuId(context xml.Context, el *etree.Element) string
- func NewBinarySecurityTokenNode(context xml.Context) (xml.Node, error)
- func NewReferenceNode(context xml.Context) (xml.Node, error)
- func NewSecurityTokenReferenceNode(context xml.Context) (xml.Node, error)
- func SetWsuId(context xml.Context, el *etree.Element, id string)
- type BinarySecurityToken
- type Reference
- type SecurityTokenReference
- type X509CertificateProvider
Constants ¶
View Source
const ( WsuNamespace string = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" WsseNamespace string = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" Wsse11Namespace string = "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" )
Variables ¶
This section is empty.
Functions ¶
func ConfigureContext ¶
Types ¶
type BinarySecurityToken ¶
type BinarySecurityToken interface {
xml.Node
X509CertificateProvider
GetId() string
SetId(id string)
GetValueType() string
SetValueType(valueType string)
GetEncodingType() string
SetEncodingType(encodingType string)
GetValue() string
SetValue(value string)
}
func NewBinarySecurityToken ¶
func NewBinarySecurityToken(context xml.Context) (BinarySecurityToken, error)
type Reference ¶
type SecurityTokenReference ¶
type SecurityTokenReference interface {
xml.Node
X509CertificateProvider
GetId() string
SetId(id string)
GetUsage() string
SetUsage(usage string)
GetTokenType() string
SetTokenType(tokenType string)
GetContent() xml.Node
SetContent(content xml.Node)
}
func NewSecurityTokenReference ¶
func NewSecurityTokenReference(context xml.Context) (SecurityTokenReference, error)
type X509CertificateProvider ¶
type X509CertificateProvider interface {
GetX509Certificate(context xml.Context) (*x509.Certificate, error)
}
Click to show internal directories.
Click to hide internal directories.