public final class PaymentMethodTokenRecipientKeyGen extends Object
bazel build apps/paymentmethodtoken/... ./bazel-bin/apps/paymentmethodtoken/recipientkeygen
Running that command will generate a fresh key pair. The private/public key can be found in
private_key.bin/public_key.bin. The content of private_key.bin can be passed to PaymentMethodTokenRecipient.Builder.addRecipientPrivateKey(java.lang.String) and the content of public_key.bin can
be passed to PaymentMethodTokenSender.Builder.rawUncompressedRecipientPublicKey(java.lang.String).
public static void main(String[] args) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOException