The getEncoded() method in the public keys in the JCE produces a DER encoded one of these.
SubjectPublicKeyInfo ::= SEQUENCE { algorithm AlgorithmIdentifier, publicKey BIT STRING }