WSSecurityTokenSerializer WSSecurityTokenSerializer WSSecurityTokenSerializer WSSecurityTokenSerializer Class

정의

WS-Security, WS-Trust 및 WS-SecureConversation 보안 사양에서 정의된 보안 토큰, 보안 키 식별자 및 보안 키 식별자 절을 serialize 및 deserialize하는 데 사용되는 클래스입니다.The class used for serializing and deserializing security tokens, security key identifiers, and security key identifier clauses defined in the WS-Security, WS-Trust, and WS-SecureConversation security specifications.

public ref class WSSecurityTokenSerializer : System::IdentityModel::Selectors::SecurityTokenSerializer
public class WSSecurityTokenSerializer : System.IdentityModel.Selectors.SecurityTokenSerializer
type WSSecurityTokenSerializer = class
    inherit SecurityTokenSerializer
Public Class WSSecurityTokenSerializer
Inherits SecurityTokenSerializer
상속
WSSecurityTokenSerializerWSSecurityTokenSerializerWSSecurityTokenSerializerWSSecurityTokenSerializer

예제

다음 코드에서는 이 클래스의 사용자 지정 재정의를 보여 줍니다.The following code demonstrates a custom override of this class.

public class CreditCardSecurityTokenSerializer : WSSecurityTokenSerializer
{
    public CreditCardSecurityTokenSerializer(SecurityTokenVersion version) : base() { }

    protected override bool CanReadTokenCore(XmlReader reader)
    {
        XmlDictionaryReader localReader = XmlDictionaryReader.CreateDictionaryReader(reader);
        if (reader == null)
        {
            throw new ArgumentNullException("reader");
        }
        if (reader.IsStartElement(Constants.CreditCardTokenName, Constants.CreditCardTokenNamespace))
        {
            return true;
        }
        return base.CanReadTokenCore(reader);
    }

    protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)
    {
        if (reader == null)
        {
            throw new ArgumentNullException("reader");
        }
        if (reader.IsStartElement(Constants.CreditCardTokenName, Constants.CreditCardTokenNamespace))
        {
            string id = reader.GetAttribute(Constants.Id, Constants.WsUtilityNamespace);

            reader.ReadStartElement();

            // Read the credit card number.
            string creditCardNumber = reader.ReadElementString(Constants.CreditCardNumberElementName, Constants.CreditCardTokenNamespace);

            // Read the expiration date.
            string expirationTimeString = reader.ReadElementString(Constants.CreditCardExpirationElementName, Constants.CreditCardTokenNamespace);
            DateTime expirationTime = XmlConvert.ToDateTime(expirationTimeString, XmlDateTimeSerializationMode.Utc);

            // Read the issuer of the credit card.
            string creditCardIssuer = reader.ReadElementString(Constants.CreditCardIssuerElementName, Constants.CreditCardTokenNamespace);
            reader.ReadEndElement();

            CreditCardInfo cardInfo = new CreditCardInfo(creditCardNumber, creditCardIssuer, expirationTime);

            return new CreditCardToken(cardInfo, id);
        }
        else
        {
            return WSSecurityTokenSerializer.DefaultInstance.ReadToken(reader, tokenResolver);
        }
    }

    protected override bool CanWriteTokenCore(SecurityToken token)
    {
        if (token is CreditCardToken)
        {
            return true;
        }
        else
        {
            return base.CanWriteTokenCore(token);
        }
    }

    protected override void WriteTokenCore(XmlWriter writer, SecurityToken token)
    {
        if (writer == null) 
        { 
            throw new ArgumentNullException("writer"); 
        }
        if (token == null) 
        { 
            throw new ArgumentNullException("token"); 
        }

        CreditCardToken c = token as CreditCardToken;
        if (c != null)
        {
            writer.WriteStartElement(Constants.CreditCardTokenPrefix, Constants.CreditCardTokenName, Constants.CreditCardTokenNamespace);
            writer.WriteAttributeString(Constants.WsUtilityPrefix, Constants.Id, Constants.WsUtilityNamespace, token.Id);
            writer.WriteElementString(Constants.CreditCardNumberElementName, Constants.CreditCardTokenNamespace, c.CardInfo.CardNumber);
            writer.WriteElementString(Constants.CreditCardExpirationElementName, Constants.CreditCardTokenNamespace, XmlConvert.ToString(c.CardInfo.ExpirationDate, XmlDateTimeSerializationMode.Utc));
            writer.WriteElementString(Constants.CreditCardIssuerElementName, Constants.CreditCardTokenNamespace, c.CardInfo.CardIssuer);
            writer.WriteEndElement();
            writer.Flush();
        }
        else
        {
            base.WriteTokenCore(writer, token);
        }
    }
}
Public Class CreditCardSecurityTokenSerializer
    Inherits WSSecurityTokenSerializer

    Public Sub New(ByVal version As SecurityTokenVersion)
        MyBase.New()
    End Sub

    Protected Overrides Function CanReadTokenCore(ByVal reader As XmlReader) As Boolean
        Dim localReader = XmlDictionaryReader.CreateDictionaryReader(reader)
        If reader Is Nothing Then
            Throw New ArgumentNullException("reader")
        End If
        If reader.IsStartElement(Constants.CreditCardTokenName, _
                                 Constants.CreditCardTokenNamespace) Then
            Return True
        End If
        Return MyBase.CanReadTokenCore(reader)
    End Function

    Protected Overrides Function ReadTokenCore(ByVal reader As XmlReader, _
                                               ByVal tokenResolver As SecurityTokenResolver) As SecurityToken
        If reader Is Nothing Then
            Throw New ArgumentNullException("reader")
        End If
        If reader.IsStartElement(Constants.CreditCardTokenName, _
                                 Constants.CreditCardTokenNamespace) Then

            Dim id = reader.GetAttribute(Constants.Id, _
                                         Constants.WsUtilityNamespace)
            reader.ReadStartElement()

            ' Read the credit card number.
            Dim creditCardNumber = reader.ReadElementString(Constants.CreditCardNumberElementName, _
                                                            Constants.CreditCardTokenNamespace)

            ' Read the expiration date.
            Dim expirationTimeString = reader.ReadElementString(Constants.CreditCardExpirationElementName, _
                                                                Constants.CreditCardTokenNamespace)
            Dim expirationTime As DateTime = XmlConvert.ToDateTime(expirationTimeString, _
                                                                   XmlDateTimeSerializationMode.Utc)

            ' Read the issuer of the credit card.
            Dim creditCardIssuer = reader.ReadElementString(Constants.CreditCardIssuerElementName, _
                                                            Constants.CreditCardTokenNamespace)
            reader.ReadEndElement()

            Dim cardInfo As New CreditCardInfo(creditCardNumber, _
                                               creditCardIssuer, _
                                               expirationTime)

            Return New CreditCardToken(cardInfo, id)
        Else
            Return WSSecurityTokenSerializer.DefaultInstance.ReadToken(reader, _
                                                                       tokenResolver)
        End If
    End Function

    Protected Overrides Function CanWriteTokenCore(ByVal token As SecurityToken) As Boolean
        If TypeOf token Is CreditCardToken Then
            Return True
        Else
            Return MyBase.CanWriteTokenCore(token)
        End If
    End Function

    Protected Overrides Sub WriteTokenCore(ByVal writer As XmlWriter, _
                                           ByVal token As SecurityToken)
        If writer Is Nothing Then
            Throw New ArgumentNullException("writer")
        End If
        If token Is Nothing Then
            Throw New ArgumentNullException("token")
        End If

        Dim c = TryCast(token, CreditCardToken)
        If c IsNot Nothing Then
            With writer
                .WriteStartElement(Constants.CreditCardTokenPrefix, _
                                   Constants.CreditCardTokenName, _
                                   Constants.CreditCardTokenNamespace)
                .WriteAttributeString(Constants.WsUtilityPrefix, _
                                      Constants.Id, _
                                      Constants.WsUtilityNamespace, _
                                      token.Id)
                .WriteElementString(Constants.CreditCardNumberElementName, _
                                    Constants.CreditCardTokenNamespace, _
                                    c.CardInfo.CardNumber)
                .WriteElementString(Constants.CreditCardExpirationElementName, _
                                    Constants.CreditCardTokenNamespace, _
                                    XmlConvert.ToString(c.CardInfo.ExpirationDate, _
                                                        XmlDateTimeSerializationMode.Utc))
                .WriteElementString(Constants.CreditCardIssuerElementName, _
                                    Constants.CreditCardTokenNamespace, _
                                    c.CardInfo.CardIssuer)
                .WriteEndElement()
                .Flush()
            End With
        Else
            MyBase.WriteTokenCore(writer, token)
        End If
    End Sub

End Class

생성자

WSSecurityTokenSerializer() WSSecurityTokenSerializer() WSSecurityTokenSerializer() WSSecurityTokenSerializer()

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean) WSSecurityTokenSerializer(Boolean)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion) WSSecurityTokenSerializer(SecurityVersion)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean) WSSecurityTokenSerializer(SecurityVersion, Boolean)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32) WSSecurityTokenSerializer(SecurityVersion, TrustVersion, SecureConversationVersion, Boolean, SamlSerializer, SecurityStateEncoder, IEnumerable<Type>, Int32, Int32, Int32)

WSSecurityTokenSerializer 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the WSSecurityTokenSerializer class.

속성

DefaultInstance DefaultInstance DefaultInstance DefaultInstance

이 클래스의 기본 인스턴스를 가져옵니다.Gets a default instance of this class.

EmitBspRequiredAttributes EmitBspRequiredAttributes EmitBspRequiredAttributes EmitBspRequiredAttributes

BSP 필수 특성을 내보낼지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether to emit BSP required attributes.

MaximumKeyDerivationLabelLength MaximumKeyDerivationLabelLength MaximumKeyDerivationLabelLength MaximumKeyDerivationLabelLength

최대 키 파생 레이블 길이를 가져옵니다.Gets the maximum key derivation label length.

MaximumKeyDerivationNonceLength MaximumKeyDerivationNonceLength MaximumKeyDerivationNonceLength MaximumKeyDerivationNonceLength

최대 키 파생 nonce 길이를 가져옵니다.Gets the maximum key derivation nonce length.

MaximumKeyDerivationOffset MaximumKeyDerivationOffset MaximumKeyDerivationOffset MaximumKeyDerivationOffset

최대 키 파생 오프셋을 가져옵니다.Gets the maximum key derivation offset.

SecurityVersion SecurityVersion SecurityVersion SecurityVersion

보안 버전을 가져옵니다.Gets the security version.

메서드

CanReadKeyIdentifier(XmlReader) CanReadKeyIdentifier(XmlReader) CanReadKeyIdentifier(XmlReader) CanReadKeyIdentifier(XmlReader)

이 serializer가 지정된 XML 판독기가 참조하는 <KeyIdentifier> 요소를 읽을 수 있는지 여부를 확인합니다.Determines whether this serializer can read the <KeyIdentifier> element referred to by the specified XML reader.

(Inherited from SecurityTokenSerializer)
CanReadKeyIdentifierClause(XmlReader) CanReadKeyIdentifierClause(XmlReader) CanReadKeyIdentifierClause(XmlReader) CanReadKeyIdentifierClause(XmlReader)

이 serializer가 지정된 XML 판독기가 참조하는 <KeyIdentifier> 요소의 절을 읽을 수 있는지 여부를 확인합니다.Determines whether this serializer can read a clause in a <KeyIdentifier> element referred to by the specified XML reader.

(Inherited from SecurityTokenSerializer)
CanReadKeyIdentifierClauseCore(XmlReader) CanReadKeyIdentifierClauseCore(XmlReader) CanReadKeyIdentifierClauseCore(XmlReader) CanReadKeyIdentifierClauseCore(XmlReader)

지정된 판독기를 사용하여 키 식별자 절 핵심을 읽을 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the key identifier clause core can be read using the specified reader.

CanReadKeyIdentifierCore(XmlReader) CanReadKeyIdentifierCore(XmlReader) CanReadKeyIdentifierCore(XmlReader) CanReadKeyIdentifierCore(XmlReader)

지정된 판독기를 사용하여 키 식별자 핵심을 읽을 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the key identifier core can be read using the specified reader.

CanReadToken(XmlReader) CanReadToken(XmlReader) CanReadToken(XmlReader) CanReadToken(XmlReader)

이 serializer가 지정된 XML 판독기가 가리키는 보안 토큰을 읽을 수 있는지 여부를 확인합니다.Determines whether this serializer can read the security token pointed at by the specified XML reader.

(Inherited from SecurityTokenSerializer)
CanReadTokenCore(XmlReader) CanReadTokenCore(XmlReader) CanReadTokenCore(XmlReader) CanReadTokenCore(XmlReader)

지정된 판독기를 사용하여 토큰 핵심을 읽을 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the token core can be read using the specified reader.

CanWriteKeyIdentifier(SecurityKeyIdentifier) CanWriteKeyIdentifier(SecurityKeyIdentifier) CanWriteKeyIdentifier(SecurityKeyIdentifier) CanWriteKeyIdentifier(SecurityKeyIdentifier)

이 serializer가 지정된 키 식별자를 쓸 수 있는지 여부를 확인합니다.Determines whether this serializer can write the specified key identifier.

(Inherited from SecurityTokenSerializer)
CanWriteKeyIdentifierClause(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClause(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClause(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClause(SecurityKeyIdentifierClause)

이 serializer가 지정된 키 식별자 절을 쓸 수 있는지 여부를 확인합니다.Determines whether this serializer can write the specified key identifier clause.

(Inherited from SecurityTokenSerializer)
CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause) CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause)

지정된 키 식별자 절을 사용하여 키 식별자 절 핵심을 쓸 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the key identifier clause core with a specified key identifier clause can be written.

CanWriteKeyIdentifierCore(SecurityKeyIdentifier) CanWriteKeyIdentifierCore(SecurityKeyIdentifier) CanWriteKeyIdentifierCore(SecurityKeyIdentifier) CanWriteKeyIdentifierCore(SecurityKeyIdentifier)

지정된 키 식별자 절을 사용하여 키 식별자 핵심을 쓸 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the key identifier core with a specified key identifier clause can be written.

CanWriteToken(SecurityToken) CanWriteToken(SecurityToken) CanWriteToken(SecurityToken) CanWriteToken(SecurityToken)

이 serializer가 지정된 보안 토큰을 XML로 쓸 수 있는지 여부를 확인합니다.Determines whether this serializer can write the specified security token to XML.

(Inherited from SecurityTokenSerializer)
CanWriteTokenCore(SecurityToken) CanWriteTokenCore(SecurityToken) CanWriteTokenCore(SecurityToken) CanWriteTokenCore(SecurityToken)

지정된 보안 토큰을 사용하여 토큰 핵심을 쓸 수 있는지 여부를 나타내는 값을 가져옵니다.Gets a value that indicates whether the token core with a specified security token can be written.

CreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle) CreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle) CreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle) CreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle)

XML로 표현된 토큰에서 키 식별자 절을 만듭니다.Creates a key identifier clause from a token expressed as XML.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

기본 해시 함수로 작동합니다.Serves as the default hash function.

(Inherited from Object)
GetTokenTypeUri(Type) GetTokenTypeUri(Type) GetTokenTypeUri(Type) GetTokenTypeUri(Type)

지정된 형식의 보안 토큰에 대한 URI를 가져옵니다.Gets the URI of the security token of the specified type.

GetType() GetType() GetType() GetType()

현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object.

(Inherited from Object)
ReadKeyIdentifier(XmlReader) ReadKeyIdentifier(XmlReader) ReadKeyIdentifier(XmlReader) ReadKeyIdentifier(XmlReader)

지정된 XML 판독기를 사용하여 키 식별자를 읽습니다.Reads the key identifier using specified XML reader.

(Inherited from SecurityTokenSerializer)
ReadKeyIdentifierClause(XmlReader) ReadKeyIdentifierClause(XmlReader) ReadKeyIdentifierClause(XmlReader) ReadKeyIdentifierClause(XmlReader)

지정된 XML 판독기를 사용하여 키 식별자 절을 읽습니다.Reads the key identifier clause using specified XML reader.

(Inherited from SecurityTokenSerializer)
ReadKeyIdentifierClauseCore(XmlReader) ReadKeyIdentifierClauseCore(XmlReader) ReadKeyIdentifierClauseCore(XmlReader) ReadKeyIdentifierClauseCore(XmlReader)

지정된 XmlReader를 사용하여 키 식별자 절 핵심을 읽습니다.Reads the key identifier clause core using the specified XmlReader.

ReadKeyIdentifierCore(XmlReader) ReadKeyIdentifierCore(XmlReader) ReadKeyIdentifierCore(XmlReader) ReadKeyIdentifierCore(XmlReader)

지정된 XmlReader를 사용하여 키 식별자 핵심을 읽습니다.Reads the key identifier core using the specified XmlReader.

ReadToken(XmlReader, SecurityTokenResolver) ReadToken(XmlReader, SecurityTokenResolver) ReadToken(XmlReader, SecurityTokenResolver) ReadToken(XmlReader, SecurityTokenResolver)

지정된 XML 판독기가 가리키는 보안 토큰을 읽습니다.Reads the security token pointed at by the specified XML reader.

(Inherited from SecurityTokenSerializer)
ReadTokenCore(XmlReader, SecurityTokenResolver) ReadTokenCore(XmlReader, SecurityTokenResolver) ReadTokenCore(XmlReader, SecurityTokenResolver) ReadTokenCore(XmlReader, SecurityTokenResolver)

지정된 XmlReader를 사용하여 토큰 핵심을 읽습니다.Reads the token core using the specified XmlReader.

ToString() ToString() ToString() ToString()

현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object.

(Inherited from Object)
TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause) TryCreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle, SecurityKeyIdentifierClause)

XML로 표현된 토큰에서 키 식별자 절을 만들려고 합니다.Attempts to create a key identifier clause from a token expressed as XML.

WriteKeyIdentifier(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifier(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifier(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifier(XmlWriter, SecurityKeyIdentifier)

지정된 XML 작성기를 사용하여 지정된 키 식별자를 씁니다.Writes the specified key identifier using the specified XML writer.

(Inherited from SecurityTokenSerializer)
WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause)

지정한 XML 작성기를 사용하여 지정된 키 식별자 절을 씁니다.Writes the specified key identifier clause using the specified XML writer.

(Inherited from SecurityTokenSerializer)
WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause)

지정된 XmlWriter를 사용하여 지정된 키 식별자 절로 키 식별자 절 핵심을 씁니다.Writes the key identifier clause core with a specified key identifier clause using the specified XmlWriter.

WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier)

지정된 XmlWriter를 사용하여 지정된 키 식별자 절로 키 식별자 핵심을 씁니다.Writes the key identifier core with a specified key identifier clause using the specified XmlWriter.

WriteToken(XmlWriter, SecurityToken) WriteToken(XmlWriter, SecurityToken) WriteToken(XmlWriter, SecurityToken) WriteToken(XmlWriter, SecurityToken)

지정한 XML 작성기를 사용하여 지정된 보안 토큰을 씁니다.Writes the specified security token using the specified XML writer.

(Inherited from SecurityTokenSerializer)
WriteTokenCore(XmlWriter, SecurityToken) WriteTokenCore(XmlWriter, SecurityToken) WriteTokenCore(XmlWriter, SecurityToken) WriteTokenCore(XmlWriter, SecurityToken)

지정된 XmlWriter를 사용하여 지정된 보안 토큰으로 토큰 핵심을 씁니다.Writes the token core with a specified security token using the specified XmlWriter.

적용 대상