#[non_exhaustive]pub struct GetRevocationStatusInput {
pub signature_timestamp: Option<DateTime>,
pub platform_id: Option<String>,
pub profile_version_arn: Option<String>,
pub job_arn: Option<String>,
pub certificate_hashes: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.signature_timestamp: Option<DateTime>
The timestamp of the signature that validates the profile or job.
platform_id: Option<String>
The ID of a signing platform.
profile_version_arn: Option<String>
The version of a signing profile.
job_arn: Option<String>
The ARN of a signing job.
certificate_hashes: Option<Vec<String>>
A list of composite signed hashes that identify certificates.
A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
The following example shows how to calculate a hash for this parameter using OpenSSL commands:
openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs
openssl sha384 < childCert.tbs -binary > childCertTbsHash
openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs
openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex
cat certificateHash.hex | tr -d '\n'
Implementations§
source§impl GetRevocationStatusInput
impl GetRevocationStatusInput
sourcepub fn signature_timestamp(&self) -> Option<&DateTime>
pub fn signature_timestamp(&self) -> Option<&DateTime>
The timestamp of the signature that validates the profile or job.
sourcepub fn platform_id(&self) -> Option<&str>
pub fn platform_id(&self) -> Option<&str>
The ID of a signing platform.
sourcepub fn profile_version_arn(&self) -> Option<&str>
pub fn profile_version_arn(&self) -> Option<&str>
The version of a signing profile.
sourcepub fn certificate_hashes(&self) -> &[String]
pub fn certificate_hashes(&self) -> &[String]
A list of composite signed hashes that identify certificates.
A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.
The following example shows how to calculate a hash for this parameter using OpenSSL commands:
openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs
openssl sha384 < childCert.tbs -binary > childCertTbsHash
openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs
openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex
cat certificateHash.hex | tr -d '\n'
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .certificate_hashes.is_none()
.
source§impl GetRevocationStatusInput
impl GetRevocationStatusInput
sourcepub fn builder() -> GetRevocationStatusInputBuilder
pub fn builder() -> GetRevocationStatusInputBuilder
Creates a new builder-style object to manufacture GetRevocationStatusInput
.
Trait Implementations§
source§impl Clone for GetRevocationStatusInput
impl Clone for GetRevocationStatusInput
source§fn clone(&self) -> GetRevocationStatusInput
fn clone(&self) -> GetRevocationStatusInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRevocationStatusInput
impl Debug for GetRevocationStatusInput
source§impl PartialEq for GetRevocationStatusInput
impl PartialEq for GetRevocationStatusInput
source§fn eq(&self, other: &GetRevocationStatusInput) -> bool
fn eq(&self, other: &GetRevocationStatusInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRevocationStatusInput
Auto Trait Implementations§
impl Freeze for GetRevocationStatusInput
impl RefUnwindSafe for GetRevocationStatusInput
impl Send for GetRevocationStatusInput
impl Sync for GetRevocationStatusInput
impl Unpin for GetRevocationStatusInput
impl UnwindSafe for GetRevocationStatusInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more