C# 클래스 dk.nita.saml20.Utils.ArtifactUtil

Contains functions to generate and parse artifacts, as defined in "Bindings for the OASIS Security Assertion Markup Language (SAML) v. 2.0" specification.
파일 보기 프로젝트 열기: symplified/Symplified.Auth

공개 메소드들

메소드 설명
CreateArtifact ( Int16 typeCodeValue, Int16 endpointIndexValue, byte sourceIdHash, byte messageHandle ) : string

GenerateMessageHandle ( ) : byte[]

GenerateSourceIdHash ( string sourceIdUrl ) : byte[]

GetEndpointIndex ( string artifact ) : ushort

Retrieves the endpoint index from an artifact

ParseArtifact ( string artifact, Int16 &typeCodeValue, Int16 &endpointIndex, byte &sourceIdHash, byte &messageHandle ) : void

TryParseArtifact ( string artifact, Int16 &typeCodeValue, Int16 &endpointIndex, byte &sourceIdHash, byte &messageHandle ) : bool

메소드 상세

CreateArtifact() 공개 정적인 메소드

public static CreateArtifact ( Int16 typeCodeValue, Int16 endpointIndexValue, byte sourceIdHash, byte messageHandle ) : string
typeCodeValue System.Int16
endpointIndexValue System.Int16
sourceIdHash byte
messageHandle byte
리턴 string

GenerateMessageHandle() 공개 정적인 메소드

public static GenerateMessageHandle ( ) : byte[]
리턴 byte[]

GenerateSourceIdHash() 공개 정적인 메소드

public static GenerateSourceIdHash ( string sourceIdUrl ) : byte[]
sourceIdUrl string
리턴 byte[]

GetEndpointIndex() 공개 정적인 메소드

Retrieves the endpoint index from an artifact
public static GetEndpointIndex ( string artifact ) : ushort
artifact string The artifact.
리턴 ushort

ParseArtifact() 공개 정적인 메소드

public static ParseArtifact ( string artifact, Int16 &typeCodeValue, Int16 &endpointIndex, byte &sourceIdHash, byte &messageHandle ) : void
artifact string
typeCodeValue System.Int16
endpointIndex System.Int16
sourceIdHash byte
messageHandle byte
리턴 void

TryParseArtifact() 공개 정적인 메소드

public static TryParseArtifact ( string artifact, Int16 &typeCodeValue, Int16 &endpointIndex, byte &sourceIdHash, byte &messageHandle ) : bool
artifact string
typeCodeValue System.Int16
endpointIndex System.Int16
sourceIdHash byte
messageHandle byte
리턴 bool