34 references to ContextAttribute
System.IdentityModel (34)
System\IdentityModel\SspiSafeHandles.cs (3)
1268public static unsafe int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute contextAttribute, byte* buffer, SafeHandle refHandle) 1307if (contextAttribute == ContextAttribute.SessionKey) 1343[In] ContextAttribute attribute,
System\IdentityModel\SspiWrapper.cs (27)
505static unsafe int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle) 531ContextAttribute contextAttribute) 538case ContextAttribute.Flags: 540case ContextAttribute.Sizes: 543case ContextAttribute.StreamSizes: 546case ContextAttribute.Names: 549case ContextAttribute.PackageInfo: 552case ContextAttribute.NegotiationInfo: 556case ContextAttribute.RemoteCertificate: 559case ContextAttribute.LocalCertificate: 562case ContextAttribute.ConnectionInfo: 565case ContextAttribute.Lifespan: 568case ContextAttribute.SessionKey: 574typeof(ContextAttribute))); 590case ContextAttribute.Flags: 596case ContextAttribute.Sizes: 599case ContextAttribute.StreamSizes: 602case ContextAttribute.Names: 605case ContextAttribute.PackageInfo: 608case ContextAttribute.NegotiationInfo: 617case ContextAttribute.LocalCertificate: 618goto case ContextAttribute.RemoteCertificate; 619case ContextAttribute.RemoteCertificate: 623case ContextAttribute.ConnectionInfo: 626case ContextAttribute.Lifespan: 629case ContextAttribute.SessionKey: 670errorCode = QueryContextAttributes(securityContext, ContextAttribute.SpecifiedTarget, nativeBuffer, handleType, out sspiHandle);
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (2)
253LifeSpan lifeSpan = (LifeSpan)SspiWrapper.QueryContextAttributes(securityContext, ContextAttribute.Lifespan); 258SecuritySessionKeyClass sessionKey = (SecuritySessionKeyClass)SspiWrapper.QueryContextAttributes(securityContext, ContextAttribute.SessionKey);
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
209LifeSpan lifeSpan = (LifeSpan)SspiWrapper.QueryContextAttributes(securityContext, ContextAttribute.Lifespan); 214SecuritySessionKeyClass sessionKey = (SecuritySessionKeyClass)SspiWrapper.QueryContextAttributes(securityContext, ContextAttribute.SessionKey);