![]() ![]() ![]()
|
BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1 |
#include <SFBX509Chain.h.hpp>
class SFBX509Chain : public SFBWebOpts;
SFMTYPEDEFWRAPPER(SFBX509Chain)

| BREW 2.0 | BREW 2.1 | BREW 3.1 |
|---|---|---|
| O | O | O |
| Public Functions | |
|---|---|
| SFCError |
AddCert(
SInt32 webOpt
, UInt08ConstPtr certificate
, SInt32 certificateLength
)
Add the list of WebOpts to the current web option set.
An alternate to SFBX509Chain::AddOpt () to add certs.
|
| SFCError |
GetBasic(
SInt32 webOpt
, SInt32 index
, X509BasicCert* basic
)
Get basic and small fields in a certificate.
|
| SFCError |
GetField(
SInt32 webOpt
, SInt32 certIndex
, SInt32 which
, UInt08ConstHandle field
, UInt32Ptr fieldLength
)
Get a field out of an X.509 certificate.
|
| SFCError |
GetFieldPart(
X509PartRequest const & request
, X509CertPart* response
)
Get individual extensions or parts out of the subject or issuer.
|
| SFCError |
GetRSAKey(
SInt32 webOpt
, SInt32 index
, SFBRSASmpPtr irsa
)
Get an the RSA key as an IRSA object ready for use.
|
| SFBRSASmp |
GetRSAKey(
SInt32 webOpt
, SInt32 index
)
Get an the RSA key as an IRSA object ready for use.
|
| static SFBX509ChainSmp |
NewInstance( Void )
Create a new instance of SFBX509Chain class.
|
| Void |
Verify(
X509TrustResult* trustResult
, SFXCallbackPtr callback
, ...
)
Complete and verify the certificate chain.
|
| Void |
VerifyV(
X509TrustResult* trustResult
, SFXCallbackPtr callback
, WebOpt const & opts
)
Complete and verify the certificate chain.
|
| SFCError |
AddOpt(
WebOptPtr opts
)
(inherits from SFBWebOpts)
Add the list of WebOpts to the current web option set.
|
| SFCError |
GetOpt(
SInt32 id
, SInt32 index
, WebOptPtr opt
)
(inherits from SFBWebOpts)
Get a WebOpt in the list of WebOpts in SFBWebOpts instance matching OptId in.
|
| SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
QueryInterface( AEECLSID clsid , SFBBaseSmpPtr handle ) (inherits from SFBQuery) Ask an object for another API contract from the object in question.
|
| SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
| SFCError |
RemoveOpt(
SInt32 id
, SInt32 index
)
(inherits from SFBWebOpts)
Remove the nIndex'th WebOpt matching OptId.
|
| Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
| SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
[ public ] SFCError AddCert( SInt32 webOpt // WEBOPT_X509_ROOT_CERT, .._LEAF_CERT or ... _BRANCH_CERT UInt08ConstPtr certificate // pointer to DER encoded certificate in buffer SInt32 certificateLength // length of certificate );
[ public ] SFCError GetBasic( SInt32 webOpt // which WebOpt ID to get them from- WEBOPT_X509_ROOT_CERT, _LEAF_CERT or ... _BRANCH_CERT or .._CHAIN_CERT SInt32 index // the index of certificate of the given WebOpt ID / type X509BasicCert* basic // place to put fields retrieved. Caller supplies the storage );
[ public ] SFCError GetField( SInt32 webOpt // which WebOpt ID set to get them from WEBOPT_X509_ROOT_CERT, _LEAF_CERT or ... _BRANCH_CERT SInt32 certIndex // the index of certificate of the given WebOpt ID / type SInt32 which // which field in the certificate to get. One of X509CHAIN_FIELD_* UInt08ConstHandle field // place to put pointer to field UInt32Ptr fieldLength // place to length of field );
[ public ] SFCError GetFieldPart( X509PartRequest const & request // the description of the request X509CertPart* response // filled in with the response );
[ public ] SFCError GetRSAKey( SInt32 webOpt // which WebOpt set to get them from WEBOPT_X509_ROOT_CERT, _LEAF_CERT or ... _BRANCH_CERT SInt32 index // the index of certificate of the given option type to get SFBRSASmpPtr irsa // place to put pointer to newly created IRSA interface );
[ public ] SFBRSASmp GetRSAKey( SInt32 webOpt // which WebOpt set to get them from WEBOPT_X509_ROOT_CERT, _LEAF_CERT or ... _BRANCH_CERT s SInt32 index // the index of certificate of the given option type to get );
[ public, static ] SFBX509ChainSmp NewInstance(Void);
[ public ] Void Verify( X509TrustResult* trustResult // place to put trust result SFXCallbackPtr callback // called back when verification is complete ... // a set of web opts to use while doing Verify );
[ public ] Void VerifyV( X509TrustResult* trustResult // place to put trust result SFXCallbackPtr callback // called back when verification is complete WebOpt const & opts // set of web opts to use while doing Verify );
|
Copyright (C) 2002 - 2009 Sophia Cradle, Inc. All Rights Reserved. |
![]() ![]() ![]()
|