IAIK PKCS#11 Provider API Documentation
version 1.6

Class EcDsaKeyFactory

  extended by java.security.KeyFactorySpi
      extended by iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
          extended by iaik.pkcs.pkcs11.provider.keyfactories.EcDsaKeyFactory
All Implemented Interfaces:

public class EcDsaKeyFactory
extends PKCS11KeyFactory

This is an ECDSA key factory that transforms ECDSA key specs into PKCS#11 key objects and vice versa. To create PKCS#11 private or public keys, the application cannot pass the actual key specs directly to the factory. It must wrap them into a PKCS11KeySpec, which tells the factory on which token to generate the key. For public keys, this factory can handle X.509 public key specs ( java.security.spec.X509EncodedKeySpec) For private keys, it handles PKCS#8 encoded key specs (java.security.spec.PKCS8EncodedKeySpec). Both key specs must carry ANSI X9.62 encoded keys internally. This standard is compatible to IEEE 1363 and Certicom Sec 1.

Karl Scheibelhofer

Field Summary
          The version field in the ASN.1 encoding of the private key (SEC standard).
Fields inherited from class iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
Constructor Summary
          Default constructor.
Method Summary
Methods inherited from class iaik.pkcs.pkcs11.provider.keyfactories.PKCS11KeyFactory
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final iaik.asn1.INTEGER EC_PRIVATE_KEY_VERSION
The version field in the ASN.1 encoding of the private key (SEC standard).

Constructor Detail


public EcDsaKeyFactory()
Default constructor.

IAIK PKCS#11 Provider API Documentation
version 1.6

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.6