public interface DeviceCredentialOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
DeviceCredential.CredentialCase |
getCredentialCase() |
Timestamp |
getExpirationTime()
[Optional] The time at which this credential becomes invalid.
|
TimestampOrBuilder |
getExpirationTimeOrBuilder()
[Optional] The time at which this credential becomes invalid.
|
PublicKeyCredential |
getPublicKey()
A public key used to verify the signature of JSON Web Tokens (JWTs).
|
PublicKeyCredentialOrBuilder |
getPublicKeyOrBuilder()
A public key used to verify the signature of JSON Web Tokens (JWTs).
|
boolean |
hasExpirationTime()
[Optional] The time at which this credential becomes invalid.
|
boolean |
hasPublicKey()
A public key used to verify the signature of JSON Web Tokens (JWTs).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasPublicKey()
A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
.google.cloud.iot.v1.PublicKeyCredential public_key = 2;
PublicKeyCredential getPublicKey()
A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
.google.cloud.iot.v1.PublicKeyCredential public_key = 2;
PublicKeyCredentialOrBuilder getPublicKeyOrBuilder()
A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
.google.cloud.iot.v1.PublicKeyCredential public_key = 2;
boolean hasExpirationTime()
[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
.google.protobuf.Timestamp expiration_time = 6;
Timestamp getExpirationTime()
[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
.google.protobuf.Timestamp expiration_time = 6;
TimestampOrBuilder getExpirationTimeOrBuilder()
[Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
.google.protobuf.Timestamp expiration_time = 6;
DeviceCredential.CredentialCase getCredentialCase()
Copyright © 2022 Google LLC. All rights reserved.