메소드 | 설명 | |
---|---|---|
AddAllPublishSettingsCertificatesToPersonalMachineStore ( string subscriptionId = null ) : List |
Publishsettings file added to the machine store with the subcription id
|
|
AddPublishSettingsToPersonalMachineStore ( StoreLocation location = StoreLocation.CurrentUser ) : |
Takes an xml document and adds to a store
|
|
AddPublishSettingsToPersonalMachineStore ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
Adds a certificate to the local machine personal store
|
|
Extract ( string fileNameOut ) : void |
Will extract a .publishsettings file certificate and then export as a .cer file
|
|
ExtractCertObject ( System.IO.FileType type ) : |
Used to extract a certificate from a file
|
|
ExtractPfxObject ( string password ) : |
Used to extract a pfk from a file
|
|
FromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : |
Checks through the CurrentUser and LocalMachine Personal and AuthRoot stores
|
|
GetCertificateFromFile ( string managementCertificate = null, StoreLocation location = StoreLocation.CurrentUser ) : |
Gets the certificate data from a file - can be a .cer file or publishsettings - exports the private key with the certificate
|
|
GetCertificateFromXml ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
||
GetCertificateThumbprint ( ) : string |
Gets the certificate thumbprint value from the publishsettings xml
|
|
GetFromFile ( string file ) : |
Returns a PublishSettingsExtractor given a valid path
|
|
GetFromXml ( string xml ) : |
Returns a PublishSettingsExtractor given a valid xml document
|
|
GetSubscriptions ( ) : List |
Gets a list of subscriptions in a .publishsettings file
|
|
PublishSettingsExtractor ( string filePath, bool xmlContent = false ) : System |
Used to construct a publishsetting extractor class
|
|
RemoveFromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : void |
Remove a publishsettings file from the store
|
|
this ( string subscriptionId ) : |
The indexer takes a subscription id string and returns a Subscription
|
메소드 | 설명 | |
---|---|---|
FromStore ( string thumbprint, StoreName storeName, StoreLocation location = StoreLocation.CurrentUser ) : |
Used to check whether the certificate is in the underlying storename and location
|
|
Parse ( ) : void |
Used to parse a .publishsettings file to determine the schema
|
public AddAllPublishSettingsCertificatesToPersonalMachineStore ( string subscriptionId = null ) : List |
||
subscriptionId | string | |
리턴 | List |
public AddPublishSettingsToPersonalMachineStore ( StoreLocation location = StoreLocation.CurrentUser ) : |
||
location | StoreLocation | |
리턴 |
public static AddPublishSettingsToPersonalMachineStore ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
||
xml | string | |
location | StoreLocation | |
리턴 |
public ExtractCertObject ( System.IO.FileType type ) : |
||
type | System.IO.FileType | |
리턴 |
public ExtractPfxObject ( string password ) : |
||
password | string | |
리턴 |
public static FromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : |
||
thumbprint | string | |
location | StoreLocation | |
리턴 |
public GetCertificateFromFile ( string managementCertificate = null, StoreLocation location = StoreLocation.CurrentUser ) : |
||
managementCertificate | string | |
location | StoreLocation | |
리턴 |
public static GetCertificateFromXml ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
||
xml | string | |
location | StoreLocation | |
리턴 |
public static GetFromFile ( string file ) : |
||
file | string | |
리턴 |
public static GetFromXml ( string xml ) : |
||
xml | string | |
리턴 |
public PublishSettingsExtractor ( string filePath, bool xmlContent = false ) : System | ||
filePath | string | The filepath to the .publishsettings file |
xmlContent | bool | Used to define whether the string is xml or a file |
리턴 | System |
public static RemoveFromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : void | ||
thumbprint | string | The management certificate thumbprint |
location | StoreLocation | |
리턴 | void |
public this ( string subscriptionId ) : |
||
subscriptionId | string | |
리턴 |