Tag: java

Create Unsigned PKCS10 Certification Request in Java using Bouncy Castle

Create Unsigned PKCS10 Certification Request in Java using Bouncy Castle

| April 21, 2015 | Reply

Usually, when you create a CSR, you have to: generate a private/public key pair, create a PKCS10 CSR with the public key and a X500 Subject, sign the CSR with the private key. This is literally what the Java Crypto APIs and Bouncy Castle NEED to do if you want to get the encoded CSR. […]

Read More

ZK Hash Router With Spring DI

ZK Hash Router With Spring DI

| October 27, 2014 | Reply

2014-12-09 Update: The router has been updated. This post has been edited to reflect the changes. As a result, the security part can be found here The ZK Framework offers great support for SPAs (Single Page Applications), however it lacks one key feature – a routing solution. Standard javascript routers usually inspect the value of […]

Read More

Beware overloaded operators in .net (for java programmers)

Beware overloaded operators in .net (for java programmers)

| June 6, 2013 | Reply

The following screenshot will be enough to make a fool of myself. As one can see the to variable is NULL. Why am I inside the if body then? I don’t know. I tried all kinds of variations of this piece of .. code. It turns out that the == operator is overloaded for the […]

Read More

Poor man’s RMI for Android

Poor man’s RMI for Android

| October 11, 2012 | 8 Replies

I had to create a bridge between an Android application and a Java application which uses RMI as a service interface. Its well known that Android does not support the RMI part of Java and a web service is NOT an option in this particular case. I did some research and it turns out there […]

Read More