-
public final class WebPushHybridDecrypt.BuilderBuilder for WebPushHybridDecrypt.
-
-
Constructor Summary
Constructors Constructor Description WebPushHybridDecrypt.Builder()
-
Method Summary
Modifier and Type Method Description WebPushHybridDecrypt.BuilderwithRecordSize(int val)Sets the record size. WebPushHybridDecrypt.BuilderwithAuthSecret(Array<byte> val)Sets the authentication secret. WebPushHybridDecrypt.BuilderwithRecipientPublicKey(ECPublicKey val)Sets the public key of the recipient. WebPushHybridDecrypt.BuilderwithRecipientPublicKey(Array<byte> val)Sets the public key of the recipient. WebPushHybridDecrypt.BuilderwithRecipientPrivateKey(ECPrivateKey val)Sets the private key of the recipient. WebPushHybridDecrypt.BuilderwithRecipientPrivateKey(Array<byte> val)Sets the private key of the recipient. WebPushHybridDecryptbuild()-
-
Method Detail
-
withRecordSize
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withRecordSize(int val)
-
withAuthSecret
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withAuthSecret(Array<byte> val)
Sets the authentication secret.
-
withRecipientPublicKey
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withRecipientPublicKey(ECPublicKey val)
Sets the public key of the recipient.
-
withRecipientPublicKey
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withRecipientPublicKey(Array<byte> val)
Sets the public key of the recipient.
The public key must be formatted as an uncompressed point format, i.e., it has
{@code 65}bytes and the first byte must be{@code 0x04}.
-
withRecipientPrivateKey
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withRecipientPrivateKey(ECPrivateKey val)
Sets the private key of the recipient.
-
withRecipientPrivateKey
@CanIgnoreReturnValue() WebPushHybridDecrypt.Builder withRecipientPrivateKey(Array<byte> val)
-
build
WebPushHybridDecrypt build()
-
-
-
-