SOL9 Sample: OIDNames

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * OIDNames.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2009/10/04

#include <sol/crypt/OIDNames.h>

void _tmain(int argc, TCHAR** argv)
{
  OIDNames oidNames;

  const char* oid1 = "1.2.840.113549.1.1.1";
  const char* name =  oidNames.getName(oid1);
  printf("OID : %s -> Name : %s\n", oid1, name);

  const char* oid2 = "1.2.840.113549.1.1.5";
  const char* name2 =  oidNames.getName(oid2);
  printf("OID : %s -> Name : %s\n", oid2, name2);

}



Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.