@@ -58,71 +58,71 @@ public String sign_RSA_RS256(ByteSigner signer, String kid, boolean canonicalize
5858 }
5959
6060 public String sign_RSA_RS256 (ByteSigner signer ) throws JOSEException {
61- return this .sign_RSA_RS256 (signer , null , true );
61+ return this .sign_RSA_RS256 (signer , null , false );
6262 }
6363
6464 public String sign_RSA_RS256 (RSAPrivateKey privateKey , String kid , boolean canonicalize ) throws JOSEException {
6565 return this .sign_RSA_RS256 (new RSA_RS256_PrivateKeySigner (privateKey ), kid , canonicalize );
6666 }
6767
6868 public String sign_RSA_RS256 (RSAPrivateKey privateKey ) throws JOSEException {
69- return this .sign_RSA_RS256 (privateKey , null , true );
69+ return this .sign_RSA_RS256 (privateKey , null , false );
7070 }
7171
7272 public String sign_RSA_RS256 (com .nimbusds .jose .jwk .RSAKey privateKey , String kid , boolean canonicalize ) throws JOSEException {
7373 return this .sign (new com .nimbusds .jose .crypto .RSASSASigner (privateKey ), JWSAlgorithm .RS256 , kid , canonicalize );
7474 }
7575
7676 public String sign_RSA_RS256 (com .nimbusds .jose .jwk .RSAKey privateKey ) throws JOSEException {
77- return this .sign_RSA_RS256 (privateKey , null , true );
77+ return this .sign_RSA_RS256 (privateKey , null , false );
7878 }
7979
8080 public String sign_Ed25519_EdDSA (ByteSigner signer , String kid , boolean canonicalize ) throws JOSEException {
8181 return this .sign (new JWSSignerAdapter (signer , JWSAlgorithm .EdDSA ), JWSAlgorithm .EdDSA , kid , canonicalize );
8282 }
8383
8484 public String sign_Ed25519_EdDSA (ByteSigner signer ) throws JOSEException {
85- return this .sign_Ed25519_EdDSA (signer , null , true );
85+ return this .sign_Ed25519_EdDSA (signer , null , false );
8686 }
8787
8888 public String sign_Ed25519_EdDSA (byte [] privateKey , String kid , boolean canonicalize ) throws JOSEException {
8989 return this .sign_Ed25519_EdDSA (new Ed25519_EdDSA_PrivateKeySigner (privateKey ), kid , canonicalize );
9090 }
9191
9292 public String sign_Ed25519_EdDSA (byte [] privateKey ) throws JOSEException {
93- return this .sign_Ed25519_EdDSA (privateKey , null , true );
93+ return this .sign_Ed25519_EdDSA (privateKey , null , false );
9494 }
9595
9696 public String sign_Ed25519_EdDSA (com .nimbusds .jose .jwk .OctetKeyPair privateKey , String kid , boolean canonicalize ) throws JOSEException {
9797 return this .sign (new com .nimbusds .jose .crypto .Ed25519Signer (privateKey ), JWSAlgorithm .EdDSA , kid , canonicalize );
9898 }
9999
100100 public String sign_Ed25519_EdDSA (com .nimbusds .jose .jwk .OctetKeyPair privateKey ) throws JOSEException {
101- return this .sign_Ed25519_EdDSA (privateKey , null , true );
101+ return this .sign_Ed25519_EdDSA (privateKey , null , false );
102102 }
103103
104104 public String sign_secp256k1_ES256K (ByteSigner signer , String kid , boolean canonicalize ) throws JOSEException {
105105 return this .sign (new JWSSignerAdapter (signer , JWSAlgorithm .ES256K ), JWSAlgorithm .ES256K , kid , canonicalize );
106106 }
107107
108108 public String sign_secp256k1_ES256K (ByteSigner signer ) throws JOSEException {
109- return this .sign_secp256k1_ES256K (signer , null , true );
109+ return this .sign_secp256k1_ES256K (signer , null , false );
110110 }
111111
112112 public String sign_secp256k1_ES256K (ECKey privateKey , String kid , boolean canonicalize ) throws JOSEException {
113113 return this .sign_secp256k1_ES256K (new secp256k1_ES256K_PrivateKeySigner (privateKey ));
114114 }
115115
116116 public String sign_secp256k1_ES256K (ECKey privateKey ) throws JOSEException {
117- return this .sign_secp256k1_ES256K (privateKey , null , true );
117+ return this .sign_secp256k1_ES256K (privateKey , null , false );
118118 }
119119
120120 public String sign_secp256k1_ES256K (com .nimbusds .jose .jwk .ECKey privateKey , String kid , boolean canonicalize ) throws JOSEException {
121121 return this .sign (new com .nimbusds .jose .crypto .ECDSASigner (privateKey ), JWSAlgorithm .ES256K , kid , canonicalize );
122122 }
123123
124124 public String sign_secp256k1_ES256K (com .nimbusds .jose .jwk .ECKey privateKey ) throws JOSEException {
125- return this .sign_secp256k1_ES256K (privateKey , null , true );
125+ return this .sign_secp256k1_ES256K (privateKey , null , false );
126126 }
127127
128128 /*
0 commit comments