- added CredentialGuard check - added Named Pipes enumeration - added Printers enumeration - added SysMon enumeration - added Logon Sessions enumeration - added SuperPutty config files check - added Oracle SQL Developer Config files check - added AMSI providers check - added SCCM check - fixed output formatting
42 lines
644 B
C#
42 lines
644 B
C#
using System;
|
|
|
|
namespace winPEAS._3rdParty.BouncyCastle.asn1
|
|
{
|
|
/**
|
|
* A Null object.
|
|
*/
|
|
public class DerNull
|
|
: Asn1Null
|
|
{
|
|
public static readonly DerNull Instance = new DerNull(0);
|
|
|
|
byte[] zeroBytes = new byte[0];
|
|
|
|
[Obsolete("Use static Instance object")]
|
|
public DerNull()
|
|
{
|
|
}
|
|
|
|
protected internal DerNull(int dummy)
|
|
{
|
|
}
|
|
|
|
internal override void Encode(
|
|
DerOutputStream derOut)
|
|
{
|
|
derOut.WriteEncoded(Asn1Tags.Null, zeroBytes);
|
|
}
|
|
|
|
protected override bool Asn1Equals(
|
|
Asn1Object asn1Object)
|
|
{
|
|
return asn1Object is DerNull;
|
|
}
|
|
|
|
protected override int Asn1GetHashCode()
|
|
{
|
|
return -1;
|
|
}
|
|
}
|
|
}
|