Package google.registry.rde
Class RydeEncoder.Builder
java.lang.Object
google.registry.rde.RydeEncoder.Builder
- Enclosing class:
RydeEncoder
Builder for
RydeEncoder
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the builtRydeEncoder
.setFileMetadata
(String filenamePrefix, long dataLength, org.joda.time.DateTime modified) Sets the information about the unencoded data that will follow.setRydeOutput
(OutputStream rydeOutput, org.bouncycastle.openpgp.PGPPublicKey receiverKey, org.bouncycastle.openpgp.PGPPublicKey... moreReceiverKeys) Sets the OutputStream for the Ryde-encoded data, and the keys used for the encryption.setSignatureOutput
(OutputStream sigOutput, org.bouncycastle.openpgp.PGPKeyPair signingKey) Sets the OutputStream for the signature, and the key used to sign.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRydeOutput
public RydeEncoder.Builder setRydeOutput(OutputStream rydeOutput, org.bouncycastle.openpgp.PGPPublicKey receiverKey, org.bouncycastle.openpgp.PGPPublicKey... moreReceiverKeys) Sets the OutputStream for the Ryde-encoded data, and the keys used for the encryption. -
setSignatureOutput
public RydeEncoder.Builder setSignatureOutput(OutputStream sigOutput, org.bouncycastle.openpgp.PGPKeyPair signingKey) Sets the OutputStream for the signature, and the key used to sign. -
setFileMetadata
public RydeEncoder.Builder setFileMetadata(String filenamePrefix, long dataLength, org.joda.time.DateTime modified) Sets the information about the unencoded data that will follow. -
build
Returns the builtRydeEncoder
.
-