Update certificate, add IsNullOrWhiteSpace

Update certificate, add IsNullOrWhiteSpace method for CORE35 so .NET 3.5
users won't fail on this block.