store headers only once, refs #7
This commit is contained in:
45
actlibrary/include/actX509Kit.h
Normal file
45
actlibrary/include/actX509Kit.h
Normal file
@@ -0,0 +1,45 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// Name: actX509Kit.h
|
||||
// Product: cv act library
|
||||
// Purpose: declaration of all factory functions
|
||||
//
|
||||
// Copyright: (c) 2000 cv cryptovision GmbH
|
||||
// all rights reserved
|
||||
// Licence: The conditions for the use of this software are regulated
|
||||
// in the cv act library licence agreement.
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef ACT_X509Kit_h
|
||||
#define ACT_X509Kit_h
|
||||
|
||||
namespace act
|
||||
{
|
||||
class Blob;
|
||||
class IKey;
|
||||
|
||||
void X509ToRSA(const Blob& pkinfo, IKey* key);
|
||||
void RSAToX509(const IKey* key, Blob& pkinfo);
|
||||
void RSAGetAlgID(const IKey* key, Blob& algid);
|
||||
void RSASetAlgID(const Blob& algid, IKey* key );
|
||||
|
||||
void X509ToDSA(const Blob& pkinfo, IKey* key);
|
||||
void DSAToX509(const IKey* key, Blob& pkinfo);
|
||||
void DSAGetAlgID(const IKey* key, Blob& algid);
|
||||
void DSASetAlgID(const Blob& algid, IKey* key );
|
||||
|
||||
void X509ToECDSA(const Blob& pkinfo, IKey* key);
|
||||
void ECDSAToX509(const IKey* key, Blob& pkinfo);
|
||||
void ECDSAGetAlgID(const IKey* key, Blob& algid);
|
||||
void ECDSASetAlgID(const Blob& algid, IKey* key );
|
||||
|
||||
void X509ToDH(const Blob& pkinfo, IKey* key);
|
||||
void DHToX509(const IKey* key, Blob& pkinfo);
|
||||
void DHGetAlgID(const IKey* key, Blob& algid);
|
||||
void DHSetAlgID(const Blob& algid, IKey* key );
|
||||
|
||||
void ECDHGetAlgID(const IKey* key, Blob& algid);
|
||||
void ECDHSetAlgID(const Blob& algid, IKey* key );
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user