Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / SigningCredentials.cs / 1 / SigningCredentials.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Tokens { using System.IdentityModel; public class SigningCredentials { string digestAlgorithm; string signatureAlgorithm; SecurityKey signingKey; SecurityKeyIdentifier signingKeyIdentifier; public SigningCredentials(SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm) : this(signingKey, signatureAlgorithm, digestAlgorithm, null) {} public SigningCredentials(SecurityKey signingKey, string signatureAlgorithm, string digestAlgorithm, SecurityKeyIdentifier signingKeyIdentifier) { if (signingKey == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("signingKey")); } if (signatureAlgorithm == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("signatureAlgorithm")); } if (digestAlgorithm == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("digestAlgorithm")); } this.signingKey = signingKey; this.signatureAlgorithm = signatureAlgorithm; this.digestAlgorithm = digestAlgorithm; this.signingKeyIdentifier = signingKeyIdentifier; } public string DigestAlgorithm { get {return this.digestAlgorithm; } } public string SignatureAlgorithm { get {return this.signatureAlgorithm; } } public SecurityKey SigningKey { get {return this.signingKey; } } public SecurityKeyIdentifier SigningKeyIdentifier { get {return this.signingKeyIdentifier; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexRunnerFactory.cs
- GPStream.cs
- SplitterEvent.cs
- NullableLongAverageAggregationOperator.cs
- LifetimeServices.cs
- SmtpFailedRecipientException.cs
- XsdDateTime.cs
- DataGridViewSelectedColumnCollection.cs
- XmlSchemaSubstitutionGroup.cs
- BufferedGraphics.cs
- SemaphoreFullException.cs
- XmlValidatingReaderImpl.cs
- OutputCacheProfileCollection.cs
- FrameworkContentElement.cs
- WindowsSpinner.cs
- AccessViolationException.cs
- Triangle.cs
- SchemaTableOptionalColumn.cs
- UnsafeNativeMethods.cs
- AccessedThroughPropertyAttribute.cs
- SectionUpdates.cs
- MethodSignatureGenerator.cs
- PackageController.cs
- DataGridViewColumnEventArgs.cs
- MessageHeaderInfoTraceRecord.cs
- RequestCachingSection.cs
- BitmapCache.cs
- ControlPropertyNameConverter.cs
- View.cs
- ReplyChannelBinder.cs
- XslAstAnalyzer.cs
- EntityContainerEmitter.cs
- DesignerProperties.cs
- WebPartMinimizeVerb.cs
- DataGrid.cs
- connectionpool.cs
- SignerInfo.cs
- IIS7UserPrincipal.cs
- ControlCachePolicy.cs
- UTF8Encoding.cs
- SerializationObjectManager.cs
- XpsSerializerWriter.cs
- WebHttpSecurityElement.cs
- BaseValidator.cs
- CustomCategoryAttribute.cs
- WebPartUserCapability.cs
- WebPartConnectVerb.cs
- SettingsProviderCollection.cs
- ServiceChannelProxy.cs
- Literal.cs
- NativeWindow.cs
- FormsAuthenticationConfiguration.cs
- BufferedGraphicsContext.cs
- SocketConnection.cs
- ITextView.cs
- HTMLTagNameToTypeMapper.cs
- SmiTypedGetterSetter.cs
- AsymmetricCryptoHandle.cs
- TypeForwardedToAttribute.cs
- UserPreferenceChangedEventArgs.cs
- ContextProperty.cs
- ExpressionConverter.cs
- TextEncodedRawTextWriter.cs
- SmiContext.cs
- WorkerProcess.cs
- RegexTree.cs
- MouseOverProperty.cs
- EtwTrace.cs
- IIS7WorkerRequest.cs
- FlowDocumentPage.cs
- DataTableCollection.cs
- PassportPrincipal.cs
- EditorPartCollection.cs
- MultiSelector.cs
- RelatedPropertyManager.cs
- Pool.cs
- ConfigurationLocation.cs
- webbrowsersite.cs
- XsltSettings.cs
- MimeTypeMapper.cs
- Calendar.cs
- BamlLocalizationDictionary.cs
- XmlILConstructAnalyzer.cs
- TextTreeFixupNode.cs
- WorkflowMarkupSerializationProvider.cs
- SmtpFailedRecipientsException.cs
- IpcPort.cs
- TextServicesContext.cs
- WebPartTransformerCollection.cs
- AgileSafeNativeMemoryHandle.cs
- FullTextBreakpoint.cs
- StrongNamePublicKeyBlob.cs
- CodeExpressionStatement.cs
- WebPartEditVerb.cs
- ListViewItem.cs
- ListControlConvertEventArgs.cs
- StreamInfo.cs
- RadioButtonList.cs
- ToolStripDropDownButton.cs
- EastAsianLunisolarCalendar.cs