Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Service / managed / Microsoft / InfoCards / Asn1Utilities.cs / 1 / Asn1Utilities.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace Microsoft.InfoCards { using System; using System.IO; using System.Text; using System.Diagnostics; using System.Collections.Generic; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Globalization; // // Summary: // This is a collection of utilities needed to support the ASN processing of the certificate // class Asn1Utilities { private Asn1Utilities() { } // // Summary: // Writes out binary data to a string in the form: // 30 5f a1 5d a0 5b 30 59 0_�]�[0Y // 30 57 30 55 16 09 69 6d 0W0U..im // // Parameters: // bytes - Array of bytes to be converted to a string. // public static string ToHexDump( byte[] bytes ) { #if DEBUG StringBuilder sb = new StringBuilder(); StringBuilder sbtext = new StringBuilder(); for( int n=0; n
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InteropBitmapSource.cs
- SmtpException.cs
- URLString.cs
- NamedPermissionSet.cs
- CompilationLock.cs
- AsyncOperationManager.cs
- CategoryAttribute.cs
- CryptoHelper.cs
- XmlIgnoreAttribute.cs
- PageOrientation.cs
- UnmanagedBitmapWrapper.cs
- Util.cs
- EntityTypeEmitter.cs
- EventManager.cs
- ReliableSessionBindingElement.cs
- WebBrowserPermission.cs
- TextView.cs
- XmlDataCollection.cs
- WindowsFont.cs
- PropertyGridCommands.cs
- RootCodeDomSerializer.cs
- ImageSource.cs
- TraceSource.cs
- GenericQueueSurrogate.cs
- RawStylusInputCustomDataList.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- IsolatedStorage.cs
- ReliableMessagingVersionConverter.cs
- ProtectedConfiguration.cs
- XsltSettings.cs
- KeyValueSerializer.cs
- WeakEventManager.cs
- SemaphoreSlim.cs
- KnownBoxes.cs
- DetailsViewDesigner.cs
- WebResponse.cs
- DBDataPermissionAttribute.cs
- dbenumerator.cs
- WebPartDeleteVerb.cs
- PropertyGridDesigner.cs
- SqlXml.cs
- OrderByExpression.cs
- COAUTHINFO.cs
- ExpressionBuilderCollection.cs
- exports.cs
- DrawToolTipEventArgs.cs
- SQLInt32.cs
- _OSSOCK.cs
- UInt64Storage.cs
- Ref.cs
- Delegate.cs
- ScriptResourceDefinition.cs
- XmlNodeChangedEventManager.cs
- MediaElement.cs
- IPipelineRuntime.cs
- CultureSpecificCharacterBufferRange.cs
- UIElementAutomationPeer.cs
- ByteStreamGeometryContext.cs
- LocalizationParserHooks.cs
- ServiceDescriptionReflector.cs
- ListViewPagedDataSource.cs
- ScrollChrome.cs
- OleDbException.cs
- SQLBytesStorage.cs
- HtmlTableCell.cs
- ConnectionPoolRegistry.cs
- wgx_render.cs
- MulticastOption.cs
- Dynamic.cs
- ElapsedEventArgs.cs
- ReaderWriterLock.cs
- OdbcException.cs
- WorkflowIdleBehavior.cs
- DataGridViewColumnEventArgs.cs
- HeaderedItemsControl.cs
- SqlParameterCollection.cs
- TextAdaptor.cs
- Grant.cs
- TextTreeRootTextBlock.cs
- WindowsEditBox.cs
- baseaxisquery.cs
- TextReader.cs
- MachineKeyConverter.cs
- DataContext.cs
- GenericIdentity.cs
- ServiceCredentials.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- shaperfactoryquerycachekey.cs
- FocusChangedEventArgs.cs
- FileStream.cs
- RootBrowserWindowAutomationPeer.cs
- TerminatorSinks.cs
- xmlfixedPageInfo.cs
- ConsumerConnectionPointCollection.cs
- DesignerOptionService.cs
- XmlValidatingReaderImpl.cs
- FileSystemInfo.cs
- EntitySqlQueryState.cs
- Rule.cs
- ContainerActivationHelper.cs