summaryrefslogtreecommitdiffstats
path: root/base/tps/src/include
diff options
context:
space:
mode:
authorChristina Fu <cfu@redhat.com>2012-09-18 14:51:06 -0700
committerChristina Fu <cfu@redhat.com>2012-09-18 14:53:02 -0700
commite6895613ea1c116003166e456fdca3ac86dfaeec (patch)
treee35663154eb47dd478954d066ec91f406508d10d /base/tps/src/include
parent6257d326cca9e55f9d6898bb2b227f22485322b7 (diff)
downloadpki-e6895613ea1c116003166e456fdca3ac86dfaeec.tar.gz
pki-e6895613ea1c116003166e456fdca3ac86dfaeec.tar.xz
pki-e6895613ea1c116003166e456fdca3ac86dfaeec.zip
https://fedorahosted.org/pki/ticket/304
TMS ECC infrastructure (enrollment with client-side and server-side key generation, and key archival)
Diffstat (limited to 'base/tps/src/include')
-rw-r--r--base/tps/src/include/channel/Secure_Channel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/tps/src/include/channel/Secure_Channel.h b/base/tps/src/include/channel/Secure_Channel.h
index bac072407..e67f8ebaf 100644
--- a/base/tps/src/include/channel/Secure_Channel.h
+++ b/base/tps/src/include/channel/Secure_Channel.h
@@ -125,10 +125,18 @@ class Secure_Channel : public Channel
int CreatePKCS11CertAttrs(TokenKeyType type, const char *id, const char *label, Buffer *keyid);
Buffer CreatePKCS11PriKeyAttrsBuffer(TokenKeyType type, const char *id, const char *label, Buffer *keyid,
Buffer *modulus, const char *opType, const char *tokenType, const char *keyTypePrefix);
+
+ Buffer CreatePKCS11ECCPriKeyAttrsBuffer(TokenKeyType type, const char *id, const char *label, Buffer *keyid,
+ SECKEYECParams *ecParams, const char *opType, const char *tokenType, const char *keyTypePrefix);
+
int CreatePKCS11PriKeyAttrs(TokenKeyType type, const char *id, const char *label, Buffer *keyid,
Buffer *modulus, const char *opType, const char *tokenType, const char *keyTypePrefix);
Buffer CreatePKCS11PubKeyAttrsBuffer(TokenKeyType type, const char *id, const char *label, Buffer *keyid,
Buffer *exponent, Buffer *modulus, const char *opType, const char *tokenType, const char *keyTypePrefix);
+
+ Buffer CreatePKCS11ECCPubKeyAttrsBuffer(TokenKeyType key_type, const char *id, const char *label, Buffer *keyid, SECKEYECPublicKey *publicKey,
+ SECKEYECParams *ecParams, const char *opType, const char *tokenType, const char *keyTypePrefix);
+
int CreatePKCS11PubKeyAttrs(TokenKeyType type, const char *id, const char *label, Buffer *keyid,
Buffer *exponent, Buffer *modulus, const char *opType, const char *tokenType, const char *keyTypePrefix);
APDU_Response *SendTokenAPU(APDU *apdu);