CertificateRevocationListBuilder.RemoveEntry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| RemoveEntry(Byte[]) |
Removes the specified serial number from the revocation list. |
| RemoveEntry(ReadOnlySpan<Byte>) |
Removes the specified serial number from the revocation list. |
RemoveEntry(Byte[])
Removes the specified serial number from the revocation list.
public:
bool RemoveEntry(cli::array <System::Byte> ^ serialNumber);
public bool RemoveEntry(byte[] serialNumber);
member this.RemoveEntry : byte[] -> bool
Public Function RemoveEntry (serialNumber As Byte()) As Boolean
Parameters
- serialNumber
- Byte[]
The serial number to remove.
Returns
true if the serial number was found in the list and was removed; otherwise, false.
Exceptions
serialNumber is null.
Remarks
This method assumes that the same serial number is not present on the list more than once, and thus stops at the first match.
Applies to
RemoveEntry(ReadOnlySpan<Byte>)
Removes the specified serial number from the revocation list.
public:
bool RemoveEntry(ReadOnlySpan<System::Byte> serialNumber);
public bool RemoveEntry(ReadOnlySpan<byte> serialNumber);
member this.RemoveEntry : ReadOnlySpan<byte> -> bool
Public Function RemoveEntry (serialNumber As ReadOnlySpan(Of Byte)) As Boolean
Parameters
- serialNumber
- ReadOnlySpan<Byte>
The serial number to remove.
Returns
true if the serial number was found in the list and was removed; otherwise, false.
Remarks
This method assumes that the same serial number is not present on the list more than once, and thus stops at the first match.