xenc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgreementMethodType

type AgreementMethodType struct {
	XMLName           xml.Name
	Algorithm         string                `xml:"Algorithm,attr"`
	KANonce           string                `xml:"KA-Nonce"`
	OriginatorKeyInfo *xml_dsig.KeyInfoType `xml:"http://www.w3.org/2000/09/xmldsig# OriginatorKeyInfo"`
	RecipientKeyInfo  *xml_dsig.KeyInfoType `xml:"http://www.w3.org/2000/09/xmldsig# RecipientKeyInfo"`
}

type CipherDataType

type CipherDataType struct {
	XMLName         xml.Name
	CipherValue     string               `xml:"CipherValue"`
	CipherReference *CipherReferenceType `xml:"CipherReference"`
}

type CipherReferenceType

type CipherReferenceType struct {
	XMLName    xml.Name
	URI        string          `xml:"URI,attr"`
	Transforms *TransformsType `xml:"Transforms"`
}

type EncryptedDataType

type EncryptedDataType struct {
	XMLName              xml.Name
	Id                   string                    `xml:"Id,attr,omitempty"`
	Type                 string                    `xml:"Type,attr,omitempty"`
	MimeType             string                    `xml:"MimeType,attr,omitempty"`
	Encoding             string                    `xml:"Encoding,attr,omitempty"`
	EncryptionMethod     *EncryptionMethodType     `xml:"EncryptionMethod"`
	KeyInfo              *xml_dsig.KeyInfoType     `xml:"http://www.w3.org/2000/09/xmldsig# KeyInfo"`
	CipherData           CipherDataType            `xml:"CipherData"`
	EncryptionProperties *EncryptionPropertiesType `xml:"EncryptionProperties"`
}

type EncryptedKeyType

type EncryptedKeyType struct {
	XMLName              xml.Name
	Recipient            string                    `xml:"Recipient,attr,omitempty"`
	Id                   string                    `xml:"Id,attr,omitempty"`
	Type                 string                    `xml:"Type,attr,omitempty"`
	MimeType             string                    `xml:"MimeType,attr,omitempty"`
	Encoding             string                    `xml:"Encoding,attr,omitempty"`
	ReferenceList        *ReferenceListType        `xml:"ReferenceList"`
	CarriedKeyName       string                    `xml:"CarriedKeyName"`
	EncryptionMethod     *EncryptionMethodType     `xml:"EncryptionMethod"`
	KeyInfo              *xml_dsig.KeyInfoType     `xml:"http://www.w3.org/2000/09/xmldsig# KeyInfo"`
	CipherData           CipherDataType            `xml:"CipherData"`
	EncryptionProperties *EncryptionPropertiesType `xml:"EncryptionProperties"`
}

type EncryptedType

type EncryptedType struct {
	XMLName              xml.Name
	Id                   string                    `xml:"Id,attr,omitempty"`
	Type                 string                    `xml:"Type,attr,omitempty"`
	MimeType             string                    `xml:"MimeType,attr,omitempty"`
	Encoding             string                    `xml:"Encoding,attr,omitempty"`
	EncryptionMethod     *EncryptionMethodType     `xml:"EncryptionMethod"`
	KeyInfo              *xml_dsig.KeyInfoType     `xml:"http://www.w3.org/2000/09/xmldsig# KeyInfo"`
	CipherData           CipherDataType            `xml:"CipherData"`
	EncryptionProperties *EncryptionPropertiesType `xml:"EncryptionProperties"`
}

type EncryptionMethodType

type EncryptionMethodType struct {
	XMLName    xml.Name
	Algorithm  string       `xml:"Algorithm,attr"`
	KeySize    *KeySizeType `xml:"KeySize"`
	OAEPparams string       `xml:"OAEPparams"`
}

type EncryptionPropertiesType

type EncryptionPropertiesType struct {
	XMLName            xml.Name
	Id                 string                   `xml:"Id,attr,omitempty"`
	EncryptionProperty []EncryptionPropertyType `xml:",any"`
}

type EncryptionPropertyType

type EncryptionPropertyType struct {
	XMLName xml.Name
	Target  string `xml:"Target,attr,omitempty"`
	Id      string `xml:"Id,attr,omitempty"`
}

type KeySizeType

type KeySizeType int64

type ReferenceListType

type ReferenceListType struct {
	XMLName       xml.Name        `xml:"ReferenceList"`
	DataReference []ReferenceType `xml:"DataReference"`
	KeyReference  []ReferenceType `xml:"KeyReference"`
}

type ReferenceType

type ReferenceType struct {
	XMLName xml.Name
	URI     string `xml:"URI,attr"`
}

type TransformsType

type TransformsType struct {
	XMLName   xml.Name
	Transform []xml_dsig.TransformType `xml:",any"`
}

Jump to

Keyboard shortcuts

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