private static unsafe byte[] EncodeExtension(string subjectKeyIdentifier) { if (subjectKeyIdentifier == null) { throw new ArgumentNullException("subjectKeyIdentifier"); } return(EncodeExtension(X509Utils.DecodeHexString(subjectKeyIdentifier))); }