public static final class DERMacData.Builder extends Object
| Constructor and Description |
|---|
DERMacData.Builder(DERMacData.Type type,
byte[] idU,
byte[] idV,
byte[] ephemDataU,
byte[] ephemDataV)
Create a basic builder with just the compulsory fields.
|
public DERMacData.Builder(DERMacData.Type type, byte[] idU, byte[] idV, byte[] ephemDataU, byte[] ephemDataV)
type - the MAC headeridU - sender party ID.idV - receiver party ID.ephemDataU - ephemeral data from sender.ephemDataV - ephemeral data from receiver.public DERMacData.Builder withText(byte[] text)
text - optional agreed text to add to the MAC.public DERMacData build()
Copyright © 2015–2016 The veraPDF Consortium. All rights reserved.