return sig.verify(B64.standard.dec(sigB64.getBytes()));
}catch(final Exception ex){
throw Exceptions.toUndeclared(ex);
}
}
<BUG>public static boolean verifySignatureWithEuare(final String msg, final String sigB64){
final String euareCert = PEMFiles.fromCertificate(SystemCredentials.lookup( Euare.class ).getCertificate());
</BUG>
return verifySignature(euareCert, msg, sigB64);
}

return sig.verify(B64.standard.dec(sigB64.getBytes()));
}catch(final Exception ex){
throw Exceptions.toUndeclared(ex);
}
}
public static boolean verifySignatureWithEuare(final String msg, final String sigB64){
final String euareCert =
B64.standard.encString( PEMFiles.getBytes( SystemCredentials.lookup( Euare.class ).getCertificate() ) );
return verifySignature(euareCert, msg, sigB64);
}
