StructuredPojo, ToCopyableBuilder<PublicKey.Builder,PublicKey>@Generated("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 | Description |
|---|---|---|
static interface |
PublicKey.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static PublicKey.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
fingerprint() |
The fingerprint of the public key.
|
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() |
|
Date |
validityEndTime() |
The ending time of validity of the public key.
|
Date |
validityStartTime() |
The starting time of validity of the public key.
|
ByteBuffer |
value() |
The DER encoded public key value in PKCS#1 format.
|
public ByteBuffer value()
The DER encoded public key value in PKCS#1 format.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public Date validityStartTime()
The starting time of validity of the public key.
public Date 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.