The Extensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdd(OidCollection, IEnumerable<(Of <<'(Oid>)>>))
Adds an enumeration of Oid instances to this collection.
Public methodStatic memberAdd(OidCollection, OidCollection)
Adds a collection of Oid instances to this collection.
Public methodStatic memberAdd(X509Certificate2Collection, IEnumerable<(Of <<'(X509Certificate2>)>>))
Adds certificates from the supplied enumeration to this collection.
Public methodStatic memberAdd(X509Certificate2Collection, X509Certificate2Collection)
Adds certificates from the supplied collection to this collection.
Public methodStatic memberAdd(X509Store, IEnumerable<(Of <<'(X509Certificate2>)>>))
Adds an enumeration of certificates to a store
Public methodStatic memberClone
Performs a shallow clone or the specified X509ChainPolicy
Public methodStatic memberEnumerate(X509Certificate2Collection)
Supplies an enumeration for this collection.
Public methodStatic memberEnumerate(X509Certificate2Collection, Predicate<(Of <<'(X509Certificate2>)>>))
Supplies an filtered enumeration for this collection.
Public methodStatic memberExtractEmailNameOrName
Extracts the email (E (by preference) or subject name (CN) value from this certificate.
Public methodStatic memberExtractName
Extracts the subject name (CN) value from this certificate.
Public methodStatic memberFind
Returns the first element matching the supplied predicate.
Public methodStatic memberFindBasicExtension
Extracts the "Basic Constraints" extension value
Public methodStatic memberFindByName
Returns the first certificate in this collection that matches name by CN
Public methodStatic memberFindByThumbprint
Return the first maching element whose certificate thumbprint matches the supplied thumbprint
Public methodStatic memberFindExtension
Extracts a certificate extension valid by name
Public methodStatic memberFindKeyUsageExtension
Extracts the "Key Usage" extension value
Public methodStatic memberFindUsable(IEnumerable<(Of <<'(X509Certificate2>)>>))
Return the first certificate that is currently valid
Public methodStatic memberFindUsable(X509Certificate2Collection)
Return the first certificate that is currently valid
Public methodStatic memberFindUsable(X509Certificate2Collection, DateTime)
Return the first certificate that is valid on the supplied usageTime
Public methodStatic memberHasExpired(X509Certificate2)
Tests if a certificate has expired at the current time.
Public methodStatic memberHasExpired(X509Certificate2, DateTime)
Tests if a certificate has expired at the indicated DateTime.
Public methodStatic memberHasValidDateRange(X509Certificate2)
Tests if the supplied certificate has a currently valid date.
Public methodStatic memberHasValidDateRange(X509Certificate2, DateTime)
Tests if the supplied certificate is valid by date as of the supplied DateTime
Public methodStatic memberIndexOf
Returns the index of the first certificate matching the supplied matcher.
Public methodStatic memberIsCertificateAuthority
Tests if this certificate is a CA cert.
Public methodStatic memberIsNullOrEmpty(X509Certificate2Collection)
Tests if the collection is null or has 0 entries.
Public methodStatic memberIsNullOrEmpty(X509ChainElementCollection)
Tests if the collection is null or contains 0 elements.
Public methodStatic memberLoadCert
Loads certificates from a certifiate store matching the supplied subjectName
Public methodStatic memberMatchEmailName
Tests the supplied certificate against a E (email) value
Public methodStatic memberMatchEmailNameOrName
Matches a certificate by either subject name or email.
Public methodStatic memberMatchName
Tests the supplied certificate against a CN value
Public methodStatic memberNameContains
Tests the supplied certificate if the subject name begins with the supplied name string
Public methodStatic memberOpenStoreRead(StoreLocation)
Opens an existing X509Store in read-only mode.
Public methodStatic memberOpenStoreRead(String, StoreLocation)
Opens a named existing X509Store in read-only mode.
Public methodStatic memberOpenStoreReadWrite(StoreLocation)
Opens a X509Store in read-write-only mode, creating it if necessary
Public methodStatic memberOpenStoreReadWrite(String, StoreLocation)
Opens a named X509Store in read-write mode, creating it if necessary.
Public methodStatic memberWhere
Returns a subset of this collection whose elements match the supplied match function.

See Also