I would like to get a compressed EC public key representation. But when I try to cast a java.security.PublicKey to a org.bouncycastle.jcajce.provider.asym
java.security.PublicKey
org.bouncycastle.jcajce.provider.asym