示例#1
0
 public static CertificatePolicies FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.CertificatePolicies)));
 }
 public static ExtendedKeyUsage FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.ExtendedKeyUsage)));
 }
 public static AuthorityInformationAccess FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.AuthorityInfoAccess)));
 }
 public static BasicConstraints FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.BasicConstraints)));
 }
 public static CrlDistPoint FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.CrlDistributionPoints)));
 }
示例#6
0
 public static GeneralNames FromExtensions(X509Extensions extensions, DerObjectIdentifier extOid)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, extOid)));
 }
 public static Asn1Encodable GetExtensionParsedValue(X509Extensions extensions, DerObjectIdentifier oid)
 {
     return(null == extensions ? null : extensions.GetExtensionParsedValue(oid));
 }
 public static AuthorityKeyIdentifier FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.AuthorityKeyIdentifier)));
 }
示例#9
0
 public static SubjectKeyIdentifier FromExtensions(X509Extensions extensions)
 {
     return(GetInstance(X509Extensions.GetExtensionParsedValue(extensions, X509Extensions.SubjectKeyIdentifier)));
 }