Пример #1
0
 public boolean verify(String message, String signature, Encoder encoder)
     throws SignatureException {
   return verify(encoder.decode(message), encoder.decode(signature));
 }
Пример #2
0
 public VerifyKey(String key, Encoder encoder) {
   this(encoder.decode(key));
 }
 public String sign(String message, Encoder encoder) {
   byte[] signature = sign(encoder.decode(message));
   return encoder.encode(signature);
 }
Пример #4
0
 public KeyPair(String secretKey, Encoder encoder) {
   this(encoder.decode(secretKey));
 }
 public SigningKey(String seed, Encoder encoder) {
   this(encoder.decode(seed));
 }