Location:
Search - rsa demo c
Search list
Description: 1. 如何生成自签名的KeyStore以及导出供SP使用的公钥
C:>keytool -v -genkey -alias idp -keystore idp.jks -keyalg RSA -dname uid=idp
然后按照提示输入密码即可,这里选择输入123456作为密码,同时主口令也使用该密码
C:>keytool -v -export -alias idp -keystore idp.jks -file idp.cer
这个命令将导出公钥证书,公钥证书将会配置在Identity Assertion Provider的Details选项卡中,同时需要配置123456作为访问证书的密码
2. 如何编译
修改build\\目录下build.local.properties文件,将其中的WL_HOME指向具体的WebLogic Server安装目录
然后在build目录下执行ant即可
demo/目录中有编译好的demo应用,可以直接使用
Platform: |
Size: 973058 |
Author: thomas |
Hits:
Description: RSA C++源代码DEMO,附加DES\\MD5等众多算法
Platform: |
Size: 1860450 |
Author: clarkwen |
Hits:
Description: /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled Headers设置成:Automatic use of precompiled headers(图1)。 二:将ms32.lib添加到工程中(图2)。 三:MIRACL是C库。 extern \"C\" { #include \"miracl.h\" #include \"mirdef.h\" } #pragma comment( lib, \"ms32.lib\" )-/ * RSA Demo version 1.0 * Copyright (C) 2004 Zhao Chunsheng 2004.04.25 * * * http://timw.126.com http://timw.yeah.net * The procedures called Miracl ver 4. The majority of computing for 82, as detailed in its fringe manual. * P, Q, N, D, E use RSATool2 generation. * / Compiler Tip : 1 : Project-Settings - Settings For (All Configuration) - C / C Category, of OO Headers set : Automatic use of precompiled headers (Figure 1). 2 : ms32.lib added to the project (Figure 2). 3 : MIRACL C library. Extern "C" (# include "miracl.h" # include "mirdef.h") # pragma comment (lib, "ms32.lib")
Platform: |
Size: 342787 |
Author: 李湘 |
Hits:
Description: /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled Headers设置成:Automatic use of precompiled headers(图1)。 二:将ms32.lib添加到工程中(图2)。 三:MIRACL是C库。 extern \"C\" { #include \"miracl.h\" #include \"mirdef.h\" } #pragma comment( lib, \"ms32.lib\" )-/ * RSA Demo version 1.0 * Copyright (C) 2004 Zhao Chunsheng 2004.04.25 * * * http://timw.126.com http://timw.yeah.net * The procedures called Miracl ver 4. The majority of computing for 82, as detailed in its fringe manual. * P, Q, N, D, E use RSATool2 generation. * / Compiler Tip : 1 : Project-Settings - Settings For (All Configuration) - C / C Category, of OO Headers set : Automatic use of precompiled headers (Figure 1). 2 : ms32.lib added to the project (Figure 2). 3 : MIRACL C library. Extern "C" (# include "miracl.h" # include "mirdef.h") # pragma comment (lib, "ms32.lib")
Platform: |
Size: 172963 |
Author: 李湘 |
Hits:
Description: /* RSA Demo 1.0 版 * 版权所有 (C) 2004 赵春生 * 2004.04.25 * http://timw.yeah.net * http://timw.126.com * 本程序调用Miracl ver 4.82大数运算库,详见其附带手册。 * P,Q,N,D,E使用RSATool2生成。 */ 编译提示: 一:将Project-Settings-Settings For(All Configuration)-C/C++中Category项的 Precompiled Headers设置成:Automatic use of precompiled headers(图1)。 二:将ms32.lib添加到工程中(图2)。 三:MIRACL是C库。 extern "C" { #include "miracl.h" #include "mirdef.h" } #pragma comment( lib, "ms32.lib" )-/* RSA Demo version 1.0* Copyright (C) 2004 Zhao Chunsheng 2004.04.25*** http://timw.126.com http://timw.yeah.net* The procedures called Miracl ver 4. The majority of computing for 82, as detailed in its fringe manual.* P, Q, N, D, E use RSATool2 generation.*/Compiler Tip : 1 : Project-Settings- Settings For (All Configuration)- C/C Category, of OO Headers set : Automatic use of precompiled headers (Figure 1). 2 : ms32.lib added to the project (Figure 2). 3 : MIRACL C library. Extern "C" (# include "miracl.h"# include "mirdef.h")# pragma comment (lib, "ms32.lib")
Platform: |
Size: 342016 |
Author: 李湘 |
Hits:
Description: 1. 如何生成自签名的KeyStore以及导出供SP使用的公钥
C:>keytool -v -genkey -alias idp -keystore idp.jks -keyalg RSA -dname uid=idp
然后按照提示输入密码即可,这里选择输入123456作为密码,同时主口令也使用该密码
C:>keytool -v -export -alias idp -keystore idp.jks -file idp.cer
这个命令将导出公钥证书,公钥证书将会配置在Identity Assertion Provider的Details选项卡中,同时需要配置123456作为访问证书的密码
2. 如何编译
修改build\目录下build.local.properties文件,将其中的WL_HOME指向具体的WebLogic Server安装目录
然后在build目录下执行ant即可
demo/目录中有编译好的demo应用,可以直接使用-1. How to generate self-signed, as well as export the KeyStore for SP
Platform: |
Size: 972800 |
Author: thomas |
Hits:
Description: RSA算法的演示程序,分组加密功能,可以对任意长度的字符串进行加密解密-RSA algorithm demo program, packet encryption, you can for any length of string encryption and decryption
Platform: |
Size: 1981440 |
Author: |
Hits:
Description: RSA算法演示程序,支持非对称加密,很好用-RSA algorithm demo program to support asymmetric cryptography, a very good use
Platform: |
Size: 33792 |
Author: zhxnh |
Hits:
Description: RSA C++源代码DEMO,附加DES\MD5等众多算法-RSA C++ Source code DEMO, and many additional algorithms DESMD5
Platform: |
Size: 1860608 |
Author: clarkwen |
Hits:
Description: openssl加密例子,大家多支持,会对大家有帮注的-openssl encryption example, we more support, will we have to help inject the
Platform: |
Size: 1064960 |
Author: 心心 |
Hits:
Description: rsa 算法demo,包含取素数、加密、解密函数。用于快速学习和掌握rsa算法,可以单独直接编译,有界面。-rsa demo for study. written in c++, please use c++ builder to compile it.
Platform: |
Size: 8192 |
Author: fast man |
Hits:
Description: c rsa key dec ma hoa giai ma
Platform: |
Size: 43008 |
Author: huy |
Hits:
Description: C# 写的一个RSA公钥私钥加密算法的示例 很简单实用的示例 vs2010 c# winform程序-Examples of public and private key encryption algorithm RSA C# to write a very simple and practical example vs2010 c# winform program
Platform: |
Size: 27648 |
Author: 任荣军 |
Hits: