26 lines
504 B
C#
26 lines
504 B
C#
using System;
|
|
using Org.BouncyCastle.Utilities;
|
|
|
|
namespace Org.BouncyCastle.Asn1.Cmp;
|
|
|
|
public class PkiConfirmContent : Asn1Encodable
|
|
{
|
|
public static PkiConfirmContent GetInstance(object obj)
|
|
{
|
|
if (obj is PkiConfirmContent)
|
|
{
|
|
return (PkiConfirmContent)obj;
|
|
}
|
|
if (obj is Asn1Null)
|
|
{
|
|
return new PkiConfirmContent();
|
|
}
|
|
throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), "obj");
|
|
}
|
|
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return DerNull.Instance;
|
|
}
|
|
}
|