프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddSignature | void | ||
CheckCertificateCanSign | void | ||
CheckSignature | bool | ||
ExtractAttributes | void | ||
InsertAttributes | void | ||
LoadXml | void |
메소드 | 설명 | |
---|---|---|
CheckSignature ( IEnumerable |
Check the signature of the XmlDocument using the list of keys. If the signature key is found, the SigningKey property is set.
|
|
CheckValid ( IEnumerable |
Verifies the assertion's signature and its time to live.
|
|
GetSignatureKeys ( ) : System.Security.Cryptography.Xml.KeyInfo |
Returns the KeyInfo element of the signature of the token.
|
|
GetXml ( ) : |
Gets the assertion as an XmlDocument.
|
|
IsExpired ( ) : bool |
Checks if the expiration time has been exceeded.
|
|
Saml20Assertion ( ) : System |
Initializes a new instance of the Saml20Assertion class.
|
|
Saml20Assertion ( |
Initializes a new instance of the Saml20Assertion class.
|
|
Saml20Assertion ( |
Initializes a new instance of the Saml20Assertion class.
|
|
Saml20Assertion ( |
Initializes a new instance of the Saml20Assertion class.
|
|
Sign ( |
Signs the assertion with the given certificate.
|
|
WriteAssertion ( |
Writes the token to a writer.
|
메소드 | 설명 | |
---|---|---|
AddSignature ( |
||
CheckCertificateCanSign ( |
||
CheckSignature ( |
||
ExtractAttributes ( ) : void |
Extracts the list of attributes from the <AttributeStatement> of the assertion, and stores it in
|
|
InsertAttributes ( ) : void |
Merges the modified attributes into
|
|
LoadXml ( |
Loads an assertion from XML.
|
public CheckSignature ( IEnumerable |
||
keys | IEnumerable |
A list of KeyDescriptor elements. Probably extracted from the metadata describing the IDP that sent the message. |
리턴 | bool |
public CheckValid ( IEnumerable |
||
trustedSigners | IEnumerable |
|
리턴 | void |
public GetSignatureKeys ( ) : System.Security.Cryptography.Xml.KeyInfo | ||
리턴 | System.Security.Cryptography.Xml.KeyInfo |
public Saml20Assertion ( |
||
assertion | The assertion. | |
trustedSigners | IEnumerable |
If null , the signature of the given assertion is not verified. |
profile | AssertionProfile | Determines the type of validation to perform on the token |
quirksMode | bool | if set to |
리턴 | System |
public Saml20Assertion ( |
||
assertion | The assertion. | |
trustedSigners | IEnumerable |
If null , the signature of the given assertion is not verified. |
profile | AssertionProfile | Determines the type of validation to perform on the token |
quirksMode | bool | if set to |
autoValidate | bool | Turn automatic validation on or off |
리턴 | System |
public Saml20Assertion ( |
||
assertion | The assertion. | |
trustedSigners | IEnumerable |
If null , the signature of the given assertion is not verified. |
quirksMode | bool | if set to |
리턴 | System |
public Sign ( |
||
cert | The certificate to sign the assertion with. | |
리턴 | void |
public WriteAssertion ( |
||
writer | The writer. | |
리턴 | void |