Skip to content

Commit

Permalink
fix: change var name and remove IO exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasalfiti committed Apr 16, 2024
1 parent c8c2e0d commit 369adc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public x25519PrivateKey(byte[] privateKey) throws InvalidPrivateKeyFormatExcepti
* @param privateKey the private key
* @param pemFormat the pem format
* @throws InvalidPrivateKeyFormatException the invalide private key format
* @throws IOException the io exception
*/
public x25519PrivateKey(String privateKey, boolean PEMFormat)
throws InvalidPrivateKeyFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ public SignedJWT create(
@SneakyThrows
public SignedJWT create(
Did didIssuer,
Did holderIssuer,
Did holderDid,
LinkedHashMap<String, Object> vc,
IPrivateKey privateKey,
String keyId) {
final String issuer = didIssuer.toString();
final String subject = holderIssuer.toString();
final String subject = holderDid.toString();

// check if expirationDate is presented in VC then use it, otherwise null
final Date expireDateAsDate =
Expand Down

0 comments on commit 369adc0

Please sign in to comment.