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
- XmlSerializerNamespaces.cs
- LayoutTable.cs
- TypedRowHandler.cs
- FieldNameLookup.cs
- ImageBrush.cs
- CheckBoxList.cs
- AccessedThroughPropertyAttribute.cs
- UserControlAutomationPeer.cs
- securestring.cs
- StorageConditionPropertyMapping.cs
- MessageAction.cs
- Mouse.cs
- PageStatePersister.cs
- SqlWriter.cs
- GridProviderWrapper.cs
- CellParaClient.cs
- BehaviorEditorPart.cs
- MetadataFile.cs
- HtmlEmptyTagControlBuilder.cs
- BlurBitmapEffect.cs
- DefaultValueTypeConverter.cs
- EmptyCollection.cs
- XamlClipboardData.cs
- LicenseProviderAttribute.cs
- Graph.cs
- HttpResponseInternalWrapper.cs
- ExtenderControl.cs
- QueryContext.cs
- CodeDefaultValueExpression.cs
- DataColumnCollection.cs
- BamlBinaryReader.cs
- ProfileParameter.cs
- FloatUtil.cs
- Span.cs
- HttpProfileGroupBase.cs
- BinaryObjectReader.cs
- ThicknessAnimationUsingKeyFrames.cs
- LabelAutomationPeer.cs
- FieldMetadata.cs
- XmlObjectSerializerWriteContext.cs
- AlphabetConverter.cs
- ReaderWriterLock.cs
- FieldNameLookup.cs
- EntityType.cs
- IPPacketInformation.cs
- FormatControl.cs
- ErrorStyle.cs
- CreateRefExpr.cs
- webclient.cs
- Manipulation.cs
- SystemResourceHost.cs
- EnumUnknown.cs
- DropShadowBitmapEffect.cs
- PathFigure.cs
- IListConverters.cs
- LazyTextWriterCreator.cs
- CustomErrorCollection.cs
- XmlC14NWriter.cs
- DataColumnSelectionConverter.cs
- RbTree.cs
- ExceptionAggregator.cs
- C14NUtil.cs
- EventToken.cs
- HttpModuleAction.cs
- _LoggingObject.cs
- ContextDataSourceContextData.cs
- PageAdapter.cs
- cookie.cs
- DataListAutoFormat.cs
- PeerApplication.cs
- UrlAuthFailedErrorFormatter.cs
- ObjectDataSourceEventArgs.cs
- Sql8ExpressionRewriter.cs
- IProvider.cs
- CompositionAdorner.cs
- ScriptControl.cs
- Rectangle.cs
- SiteMapNode.cs
- DllNotFoundException.cs
- Image.cs
- FixedStringLookup.cs
- ArrayMergeHelper.cs
- DataObjectSettingDataEventArgs.cs
- UIElement3D.cs
- StylusPointDescription.cs
- ExpressionConverter.cs
- ChangeDirector.cs
- MediaContextNotificationWindow.cs
- Identifier.cs
- XmlSerializableServices.cs
- SafeNativeMethods.cs
- ListBoxAutomationPeer.cs
- CorrelationManager.cs
- FlowDocumentReader.cs
- EndPoint.cs
- ItemCheckedEvent.cs
- Dump.cs
- EntityDataSourceContainerNameItem.cs
- TemplateKeyConverter.cs
- CodeIndexerExpression.cs