public static interface PublicKey.Builder extends CopyableBuilder<PublicKey.Builder,PublicKey>
Modifier and Type | Method and Description |
---|---|
PublicKey.Builder |
fingerprint(String fingerprint)
The fingerprint of the public key.
|
PublicKey.Builder |
validityEndTime(Instant validityEndTime)
The ending time of validity of the public key.
|
PublicKey.Builder |
validityStartTime(Instant validityStartTime)
The starting time of validity of the public key.
|
PublicKey.Builder |
value(ByteBuffer value)
The DER encoded public key value in PKCS#1 format.
|
copy
apply, build
PublicKey.Builder value(ByteBuffer value)
The DER encoded public key value in PKCS#1 format.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
value
- The DER encoded public key value in PKCS#1 format.PublicKey.Builder validityStartTime(Instant validityStartTime)
The starting time of validity of the public key.
validityStartTime
- The starting time of validity of the public key.PublicKey.Builder validityEndTime(Instant validityEndTime)
The ending time of validity of the public key.
validityEndTime
- The ending time of validity of the public key.PublicKey.Builder fingerprint(String fingerprint)
The fingerprint of the public key.
fingerprint
- The fingerprint of the public key.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.