@Generated(value="software.amazon.awssdk:codegen") public final class PublicKey extends Object implements StructuredPojo, ToCopyableBuilder<PublicKey.Builder,PublicKey>
Contains information about a returned public key.
Modifier and Type | Class and Description |
---|---|
static interface |
PublicKey.Builder |
Modifier and Type | Method and Description |
---|---|
static PublicKey.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fingerprint()
The fingerprint of the public key.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends PublicKey.Builder> |
serializableBuilderClass() |
PublicKey.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
validityEndTime()
The ending time of validity of the public key.
|
Instant |
validityStartTime()
The starting time of validity of the public key.
|
SdkBytes |
value()
The DER encoded public key value in PKCS#1 format.
|
copy
public SdkBytes value()
The DER encoded public key value in PKCS#1 format.
public Instant validityStartTime()
The starting time of validity of the public key.
public Instant validityEndTime()
The ending time of validity of the public key.
public String fingerprint()
The fingerprint of the public key.
public PublicKey.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PublicKey.Builder,PublicKey>
public static PublicKey.Builder builder()
public static Class<? extends PublicKey.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.