-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c378149
commit ebde40b
Showing
3 changed files
with
33 additions
and
42 deletions.
There are no files selected for viewing
27 changes: 6 additions & 21 deletions
27
src/main/java/io/twentysixty/sa/client/model/message/Ciphering.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,16 @@ | ||
package io.twentysixty.sa.client.model.message; | ||
|
||
import java.io.Serializable; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
@Setter | ||
@Getter | ||
@ToString | ||
public class Ciphering implements Serializable { | ||
|
||
private static final long serialVersionUID = -8660299956191649637L; | ||
private String algorithm; | ||
private Parameters parameters; | ||
|
||
public String getAlgorithm() { | ||
return algorithm; | ||
} | ||
|
||
public void setAlgorithm(String algorithm) { | ||
this.algorithm = algorithm; | ||
} | ||
|
||
public Parameters getParameters() { | ||
return parameters; | ||
} | ||
|
||
public void setParameters(Parameters parameters) { | ||
this.parameters = parameters; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Ciphering [algorithm=" + algorithm + ", parameters=" + parameters + "]"; | ||
} | ||
} |
27 changes: 6 additions & 21 deletions
27
src/main/java/io/twentysixty/sa/client/model/message/Parameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,16 @@ | ||
package io.twentysixty.sa.client.model.message; | ||
|
||
import java.io.Serializable; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
@Setter | ||
@Getter | ||
@ToString | ||
public class Parameters implements Serializable { | ||
|
||
private static final long serialVersionUID = -3591319454008944749L; | ||
private String key; | ||
private String iv; | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getIv() { | ||
return iv; | ||
} | ||
|
||
public void setIv(String iv) { | ||
this.iv = iv; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Parameters [key=" + key + ", iv=" + iv + "]"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters