Retrieves Certificate Trust List (CTL) object from a file or a DER-encoded byte array.
Get-CertificateTrustList [-Path] <String> [<CommonParameters>] Get-CertificateTrustList [-RawCTL] <Byte[]> [<CommonParameters>]
Retrieves a Certificate Trust List (CTL) object from a file or a DER-encoded byte array.
A CTL is a predefined list of items signed by a trusted entity. A CTL is a list of hashes of certificates or a list of file names. All items in the list are authenticated (signed) and approved by a trusted signing entity. The primary use of CTLs is to verify signed messages, using the CTL as a source of trusted root certificates.
Specifies the path to a file.
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
Specifies a DER-encoded byte array that represents a Certificate Trust List (CTL).
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
System.Security.Cryptography.X509Certificates.X509CTL
Author: Vadims Podans
Blog: https://www.sysadmins.lv
PS C:\> Get-CertificateTrustList -Path C:\authroot.stl
In this example, the CTL object is constructed from a CTL file. CTLs usually have an .stl extension.
PS C:\> $Raw = [IO.FILE]::ReadAllBytes("C:\authroot.stl") Get-CertificateTrustList -RawCTL $Raw
CTL object is constructed from a byte array.