Skip to content

Commit

Permalink
Make SecurityInfo Constructor protected to allow inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jun 28, 2023
1 parent b620141 commit 3c25bdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class SecurityInfo implements Serializable {
// OSCORE
private final OscoreSetting oscoreSetting;

private SecurityInfo(String endpoint, String pskIdentity, byte[] preSharedKey, PublicKey rawPublicKey,
protected SecurityInfo(String endpoint, String pskIdentity, byte[] preSharedKey, PublicKey rawPublicKey,
boolean useX509Cert, OscoreSetting oscoreSetting) {
Validate.notEmpty(endpoint);
this.endpoint = endpoint;
Expand Down

0 comments on commit 3c25bdf

Please sign in to comment.