![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Certificate Provider I'm looking for documentation on the export method associated with an X509 Certificate object defined in the subject Powershell provider. Or for any of the objects methods/properties. I can see the available methods/properties by tabing after the object. string, I just can't find any of the documentation on their parms. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Certificate Provider Use Get-Member (alias 'gm') $myCert = Get-PfxCertificate <cert's path> # All members $myCert | get-member | select Name, TypeName, Definition | format-list | more # Methods $myCert | get-member -type Method | select Name, TypeName, Definition | format-list | more # Properties $myCert | get-member -type Property | select Name, TypeName, Definition | format-list | more # Export method $myCert | get-member Export | select Name, TypeName, Definition | format-list -- Kiron |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Certificate Provider On Sep 5, 9:22 am, Joe G <J...@xxxxxx> wrote: Quote: > I'm looking for documentation on the export method associated with an X509 > Certificate object defined in the subject Powershell provider. Or for any of > the objects methods/properties. I can see the available methods/properties > by tabing after the object. string, I just can't find any of the > documentation on their parms. |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Certificate Provider Would you know if there is a way to get the Enumerations available? I've been trying to use the [System.Security.Cryptography.X509Certificates.X509ContentType.Pfx] to no avail. "Kiron" wrote: Quote: > Use Get-Member (alias 'gm') > > $myCert = Get-PfxCertificate <cert's path> > > # All members > $myCert | get-member | select Name, TypeName, Definition | format-list | > more > > # Methods > $myCert | get-member -type Method | select Name, TypeName, Definition | > format-list | more > > # Properties > $myCert | get-member -type Property | select Name, TypeName, Definition | > format-list | more > > # Export method > $myCert | get-member Export | select Name, TypeName, Definition | > format-list > > -- > Kiron > > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Certificate Provider "Unknown, Cert, SerializedCert, Pfx, Pkcs12, SerializedStore, Pkcs7, Authenticode" By assigning an empty string to the property PowerShell is kind enough to list the enumeration values in the error message: Try this: [System.Security.Cryptography.X509Certificates.X509ContentType]: fx = ""-- Kiron |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Certificate Provider Thanks Kiron. It's the double colon delimiter that I always seem to forget. "Kiron" wrote: Quote: > "Unknown, Cert, SerializedCert, Pfx, Pkcs12, SerializedStore, Pkcs7, > Authenticode" > > By assigning an empty string to the property PowerShell is kind enough to > list the enumeration values in the error message: > > Try this: > > [System.Security.Cryptography.X509Certificates.X509ContentType]: fx = ""> > -- > Kiron > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Provider changes in V2.0 | PowerShell | |||
| Select Certificate message, but no certificate to select | Vista security | |||
| WMI Provider | Vista mail | |||
| WMI Provider | Vista mail | |||
| which provider is best ? | Vista General | |||