Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 | |
return | List |
public AddPublishSettingsToPersonalMachineStore ( StoreLocation location = StoreLocation.CurrentUser ) : |
||
location | StoreLocation | |
return |
public static AddPublishSettingsToPersonalMachineStore ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
||
xml | string | |
location | StoreLocation | |
return |
public ExtractCertObject ( System.IO.FileType type ) : |
||
type | System.IO.FileType | |
return |
public ExtractPfxObject ( string password ) : |
||
password | string | |
return |
public static FromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : |
||
thumbprint | string | |
location | StoreLocation | |
return |
public GetCertificateFromFile ( string managementCertificate = null, StoreLocation location = StoreLocation.CurrentUser ) : |
||
managementCertificate | string | |
location | StoreLocation | |
return |
public static GetCertificateFromXml ( string xml, StoreLocation location = StoreLocation.CurrentUser ) : |
||
xml | string | |
location | StoreLocation | |
return |
public static GetFromFile ( string file ) : |
||
file | string | |
return |
public static GetFromXml ( string xml ) : |
||
xml | string | |
return |
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 |
return | System |
public static RemoveFromStore ( string thumbprint, StoreLocation location = StoreLocation.CurrentUser ) : void | ||
thumbprint | string | The management certificate thumbprint |
location | StoreLocation | |
return | void |
public this ( string subscriptionId ) : |
||
subscriptionId | string | |
return |