@Generated(value="software.amazon.awssdk:codegen") public 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.
|
ByteBuffer |
value()
The DER encoded public key value in PKCS#1 format.
|
copypublic ByteBuffer value()
The DER encoded public key value in PKCS#1 format.
This method will return a new read-only ByteBuffer each time it is invoked.
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PublicKey.Builder,PublicKey>public static PublicKey.Builder builder()
public static Class<? extends PublicKey.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.