示例#1
0
		public void Test_SubjectPublicKeyInfo()
		{
            SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo();
			AlgorithmIdentifier ai = new AlgorithmIdentifier();
			ai.Assign(OID.RSA.sha1WithRSAEncryption);

			BERWriter.DumpHEX(ai);


			spki.Assign(ai, new ASN1BitString(new byte[]{0x1, 0x2}, 9));

			BERWriter.DumpHEX(spki);
			

		}