package mstypes

Import Path
	github.com/jcmturner/rpc/v2/mstypes (on go.dev)

Dependency Relation
	imports 12 packages, and imported by one package

Involved Source Files claims.go Package mstypes provides implemnations of some Microsoft data types [MS-DTYP] https://msdn.microsoft.com/en-us/library/cc230283.aspx Package mstypes implements representations of Microsoft types group_membership.go kerb_sid_and_attributes.go reader.go rpc_unicode_string.go sid.go user_session_key.go
Package-Level Type Names (total 20)
/* sort by: | */
ClaimEntry is a NDR union that implements https://msdn.microsoft.com/en-us/library/hh536374.aspx ID string Type uint16 TypeBool ClaimTypeBoolean TypeInt64 ClaimTypeInt64 TypeString ClaimTypeString TypeUInt64 ClaimTypeUInt64 SwitchFunc is the ClaimEntry union field selection function ClaimEntry : github.com/jcmturner/rpc/v2/ndr.Union
ClaimsArray implements https://msdn.microsoft.com/en-us/library/hh536458.aspx ClaimEntries []ClaimEntry ClaimsCount uint32 ClaimsSourceType uint16
ClaimsBlob implements https://msdn.microsoft.com/en-us/library/hh554119.aspx EncodedBlob EncodedBlob Size uint32
ClaimsSet implements https://msdn.microsoft.com/en-us/library/hh554122.aspx ClaimsArrayCount uint32 ClaimsArrays []ClaimsArray ReservedField []byte ReservedFieldSize uint32 ReservedType uint16 func (*ClaimsSetMetadata).ClaimsSet() (c ClaimsSet, err error)
ClaimsSetMetadata implements https://msdn.microsoft.com/en-us/library/hh554073.aspx ClaimsSetBytes []byte ClaimsSetSize uint32 // Enum see constants for options ReservedField []byte ReservedFieldSize uint32 ReservedType uint16 UncompressedClaimsSetSize uint32 ClaimsSet reads the ClaimsSet type from the NDR encoded ClaimsSetBytes in the ClaimsSetMetadata
ClaimTypeBoolean is a claim of type bool Value []bool ValueCount uint32
ClaimTypeInt64 is a claim of type int64 Value []int64 ValueCount uint32
ClaimTypeString is a claim of type string Value []LPWSTR ValueCount uint32
ClaimTypeUInt64 is a claim of type uint64 Value []uint64 ValueCount uint32
CypherBlock implements https://msdn.microsoft.com/en-us/library/cc237040.aspx // size = 8
DomainGroupMembership implements https://msdn.microsoft.com/en-us/library/hh536344.aspx DomainId: A SID structure that contains the SID for the domain.This member is used in conjunction with the GroupIds members to create group SIDs for the device. GroupCount: A 32-bit unsigned integer that contains the number of groups within the domain to which the account belongs. GroupIds: A pointer to a list of GROUP_MEMBERSHIP structures that contain the groups to which the account belongs in the domain. The number of groups in this list MUST be equal to GroupCount. DomainID RPCSID GroupCount uint32 // Size is value of GroupCount
EncodedBlob are the bytes of the encoded Claims Size returns the size of the bytes of the encoded Claims EncodedBlob : github.com/jcmturner/rpc/v2/ndr.RawBytes
FileTime implements the Microsoft FILETIME type https://msdn.microsoft.com/en-us/library/cc230324.aspx HighDateTime uint32 LowDateTime uint32 MSEpoch returns the FileTime as a Microsoft epoch, the number of 100 nano second periods elapsed from January 1, 1601 UTC. Time return a golang Time type from the FileTime Unix returns the FileTime as a Unix time, the number of seconds elapsed since January 1, 1970 UTC. func GetFileTime(t time.Time) FileTime func (*Reader).FileTime() (f FileTime, err error)
GroupMembership implements https://msdn.microsoft.com/en-us/library/cc237945.aspx RelativeID : A 32-bit unsigned integer that contains the RID of a particular group. The possible values for the Attributes flags are identical to those specified in KERB_SID_AND_ATTRIBUTES Attributes uint32 RelativeID uint32
KerbSidAndAttributes implements https://msdn.microsoft.com/en-us/library/cc237947.aspx Attributes uint32 // A pointer to an RPC_SID structure.
LPWSTR implements https://msdn.microsoft.com/en-us/library/cc230355.aspx Value string String returns the string representation of LPWSTR data type. *LPWSTR : github.com/ChrisTrenkamp/goxpath/tree.Result *LPWSTR : fmt.Stringer
Reader reads simple byte stream data into a Go representations (*Reader) FileTime() (f FileTime, err error) (*Reader) Read(p []byte) (n int, err error) readBytes returns a number of bytes from the NDR byte stream. UTF16String returns a string that is UTF16 encoded in a byte slice. n is the number of bytes representing the string (*Reader) Uint16() (uint16, error) (*Reader) Uint32() (uint32, error) (*Reader) Uint64() (uint64, error) (*Reader) Uint8() (uint8, error) *Reader : io.Reader func NewReader(r io.Reader) *Reader
RPCSID implements https://msdn.microsoft.com/en-us/library/cc230364.aspx // An RPC_SID_IDENTIFIER_AUTHORITY structure that indicates the authority under which the SID was created. It describes the entity that created the SID. The Identifier Authority value {0,0,0,0,0,5} denotes SIDs created by the NT SID authority. // An 8-bit unsigned integer that specifies the revision level of the SID. This value MUST be set to 0x01. // A variable length array of unsigned 32-bit integers that uniquely identifies a principal relative to the IdentifierAuthority. Its length is determined by SubAuthorityCount. // An 8-bit unsigned integer that specifies the number of elements in the SubAuthority array. The maximum number of elements allowed is 15. String returns the string representation of the RPC_SID. *RPCSID : github.com/ChrisTrenkamp/goxpath/tree.Result *RPCSID : fmt.Stringer
RPCUnicodeString implements https://msdn.microsoft.com/en-us/library/cc230365.aspx // The length, in bytes, of the string pointed to by the Buffer member, not including the terminating null character if any. The length MUST be a multiple of 2. The length SHOULD equal the entire size of the Buffer, in which case there is no terminating null character. Any method that accesses this structure MUST use the Length specified instead of relying on the presence or absence of a null character. // The maximum size, in bytes, of the string pointed to by Buffer. The size MUST be a multiple of 2. If not, the size MUST be decremented by 1 prior to use. This value MUST not be less than Length. Value string String returns the RPCUnicodeString string value *RPCUnicodeString : github.com/ChrisTrenkamp/goxpath/tree.Result *RPCUnicodeString : fmt.Stringer
UserSessionKey implements https://msdn.microsoft.com/en-us/library/cc237080.aspx // size = 2
Package-Level Functions (total 3)
GetFileTime returns a FileTime type from the provided Golang Time type.
NewReader creates a new instance of a simple Reader.
SetFlag sets a flag in a uint32 attribute value.
Package-Level Constants (total 24)
ClaimsSourceTypeAD https://msdn.microsoft.com/en-us/library/hh553809.aspx
Claim Type assigned numbers
Claim Type assigned numbers
Claim Type assigned numbers
Claim Type assigned numbers
Compression format assigned numbers. https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-xca/a8b7cb0a-92a6-4187-a23b-5e14273b96f8
Compression format assigned numbers. https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-xca/a8b7cb0a-92a6-4187-a23b-5e14273b96f8
Compression format assigned numbers. https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-xca/a8b7cb0a-92a6-4187-a23b-5e14273b96f8
Compression format assigned numbers. https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-xca/a8b7cb0a-92a6-4187-a23b-5e14273b96f8
Attributes of a security group membership and can be combined by using the bitwise OR operation. They are used by an access check mechanism to specify whether the membership is to be used in an access check decision.
Attributes of a security group membership and can be combined by using the bitwise OR operation. They are used by an access check mechanism to specify whether the membership is to be used in an access check decision.
Attributes of a security group membership and can be combined by using the bitwise OR operation. They are used by an access check mechanism to specify whether the membership is to be used in an access check decision.
Attributes of a security group membership and can be combined by using the bitwise OR operation. They are used by an access check mechanism to specify whether the membership is to be used in an access check decision.
Attributes of a security group membership and can be combined by using the bitwise OR operation. They are used by an access check mechanism to specify whether the membership is to be used in an access check decision.
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types
Byte sizes of primitive types