![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0 |
#include <SFBPubKeyUtil.h.hpp>
class SFBPubKeyUtil : public SFBQuery;
SFMTYPEDEFWRAPPER(SFBPubKeyUtil)

| BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
|---|---|---|---|
| × | × | × | ○ |
| パブリック関数 | |
|---|---|
| SFCError |
AddOIDMapping(
UInt32 uOID
, AEECLSID clsid
, SInt32 padType
) この関数を使用して、OID マッピングを追加します。追加された OID マッピングはこのインタフェースを使用して追加されたマッピングを上書きします。1つのOIDに対して、1つのマッピングだけが追加できます。その後の追加は、マッピングを上書きします。
|
| static SFBPubKeyUtilSmp |
NewInstance(
SFCErrorPtr exception = null
) NewInstance( AEECLSID id , SFCErrorPtr exception = null ) SFBPubKeyUtil クラスのインスタンスを生成します。
|
| SFCError |
Parse(
SInt32 type
, UInt08ConstPtr pIn
, SInt32 inLen
, SFBParametersPtr result
) inLen の合計長で pIN が指す type のタイプの鍵形式を解析します。
|
| SFCError |
Serialize(
SInt32 type
, SFBParametersConstRef pIn
, UInt08Ptr pOut
, SInt32Ptr outLen
) pIn に格納されている鍵の内容を type で指定された鍵の形式にシリアル化し、pOut が指すバッファの出力に格納して、outLen のサイズを更新します。
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(SFBQuery から継承)
QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (SFBQuery から継承) このオブジェクトからの別の API を問い合わせます。
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(SFBQuery から継承)
このオブジェクトからの別の API を問い合わせます。
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(SFBQuery から継承)
オブジェクトを単一インターフェースで実装するときに使います。
|
| プロテクト関数 | |
|---|---|
| static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(SFBBase から継承)
指定したクラス ID のインターフェースのインスタンスを生成します。
|
| static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(SFBBase から継承)
指定したクラス ID のインターフェースのインスタンスを指定した SFBQuery インスタンスを使って生成します。
|
[ public ] SFCError AddOIDMapping( UInt32 uOID // 一意の OID AEECLSID clsid // コンテキストの実装 / このアルゴリズムのサポートの Class ID SInt32 padType // 明確に定義された署名 / パディングタイプの 1 つ );
[ public, static ] SFBPubKeyUtilSmp NewInstance( SFCErrorPtr exception = null // エラー値 );
[ public, static ] SFBPubKeyUtilSmp NewInstance( AEECLSID id // クラスID SFCErrorPtr exception = null // エラー値 );
[ public ] SFCError Parse( SInt32 type // 解析するエンコードタイプ UInt08ConstPtr pIn // エンコードされたデータを指すポインタ SInt32 inLen // エンコードされたデータのサイズ SFBParametersPtr result // 操作に成功した場合の解析されたデータが格納された場所のインタフェースポインタ );
パラメータ nType の明確に定義された値:
IPubKeyUtil_ASN1: 解析側が認識している ASN.1 形式のいずれかの鍵。OID を使用して鍵のタイプを識別する。
その他の実装では、別のタイプを定義することもできる。
[ public ] SFCError Serialize( SInt32 type // 生成するエンコードタイプ SFBParametersConstRef pIn // 入力のインタフェースポインタ UInt08Ptr pOut // 操作に成功した場合、エンコードされたデータが格納された場所のポインタ SInt32Ptr outLen // pOut に読み込まれた実際のデータの長さ );
パラメータ nType の可能な値: IPubKeyUtil_parse( ) を参照。
|
Copyright (C) 2002 - 2009 Sophia Cradle Incorporated All Rights Reserved. |
![]() ![]() ![]()
|