security: documentation: clarify return values for getKey and getCerticicate.