다음을 통해 공유


OpenFlags Enumeration

Specifies the way to open the X.509 certificate store.

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in system.security.dll)

Syntax

[FlagsAttribute]
public enum OpenFlags

Remarks

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

The ReadOnly, ReadWrite, and MaxAllowed flags are mutually exclusive. The OpenExistingOnly flag is the only flag that does not require the CreateStore permission to be granted.

Members

  Member name Description
IncludeArchived Open the X.509 certificate store and include archived certificates.
MaxAllowed Open the X.509 certificate store for the highest access allowed.
OpenExistingOnly Opens only existing stores; if no store exists, the Open method will not create a new store.
ReadOnly Open the X.509 certificate store for reading only.
ReadWrite Open the X.509 certificate store for both reading and writing.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

System.Security.Cryptography.X509Certificates Namespace