Amazon.CloudTrail.AmazonCloudTrailClient.ListPublicKeys C# (CSharp) Method

ListPublicKeys() public method

Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.

CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.

/// Occurs if the timestamp values are invalid. Either the start time occurs after the /// end time or the time range is outside the range of possible values. /// /// Reserved for future use. /// /// This exception is thrown when the requested operation is not permitted. /// /// This exception is thrown when the requested operation is not supported. ///
public ListPublicKeys ( ListPublicKeysRequest request ) : ListPublicKeysResponse
request Amazon.CloudTrail.Model.ListPublicKeysRequest Container for the necessary parameters to execute the ListPublicKeys service method.
return Amazon.CloudTrail.Model.ListPublicKeysResponse
        public ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request)
        {
            var marshaller = new ListPublicKeysRequestMarshaller();
            var unmarshaller = ListPublicKeysResponseUnmarshaller.Instance;

            return Invoke<ListPublicKeysRequest,ListPublicKeysResponse>(request, marshaller, unmarshaller);
        }