@ Nullable public String getIdentityPublicKey ( ) { RSAPublicKey key = InstanceIdentityProvider . RSA . getPublicKey ( ) ; return key == null ? null : new String ( Base64 . encodeBase64 ( key . getEncoded ( ) ) , Charset . forName ( "UTF-8" ) ) ; }
Gets the Base64 encoded public key that forms part of this instance s identity keypair .