You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
939 B

namespace com.hitrust.Security
{
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
internal struct CERT_PUBLIC_KEY_INFO
{
public IntPtr pszObjId;
public int agcbData;
public IntPtr agpbData;
public int pkcbData;
public IntPtr pkpbData;
public int pkcUnusedBits;
public CERT_PUBLIC_KEY_INFO(CertificateInfo info)
{
this.pszObjId = info.SubjectPublicKeyInfoAlgorithmpszObjId;
this.agcbData = info.SubjectPublicKeyInfoAlgorithmParameterscbData;
this.agpbData = info.SubjectPublicKeyInfoAlgorithmParameterspbData;
this.pkcbData = info.SubjectPublicKeyInfoPublicKeycbData;
this.pkpbData = info.SubjectPublicKeyInfoPublicKeypbData;
this.pkcUnusedBits = info.SubjectPublicKeyInfoPublicKeycUnusedBits;
}
}
}