All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stratumn.sdk.model.client.ProtectedKeySecret Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
package com.stratumn.sdk.model.client;

public class ProtectedKeySecret {

  String publicKey;
  String password;

  ProtectedKeySecret(String publicKey, String password) throws IllegalArgumentException {
    if (publicKey == null) {
      throw new IllegalArgumentException("publicKey cannot be null in ProtectedKeySecret");
    }
    if (password == null) {
      throw new IllegalArgumentException("password cannot be null in ProtectedKeySecret");
    }
    this.publicKey = publicKey;
    this.password = password;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy