IAIK PKCS#11 Wrapper
version 1.2.17

iaik.pkcs.pkcs11.objects
Interface DomainParameters.VendorDefinedDomainParametersBuilder

Enclosing interface:
DomainParameters

public static interface DomainParameters.VendorDefinedDomainParametersBuilder

If an application uses vendor defined DomainParameters, it must implement this interface and install such an object handler using setVendorDefinedDomainParametersBuilder.

Invariants

Method Summary
 Object build(Session session, long objectHandle)
          This method should instanciate an Object of this class or of any sub-class.
 

Method Detail

build

public Object build(Session session,
                    long objectHandle)
             throws PKCS11Exception
This method should instanciate an Object of this class or of any sub-class. It can use the given handles and PKCS#11 module to retrieve attributes of the PKCS#11 object from the token.

Parameters:
session - The session to use for reading attributes. This session must have the appropriate rights; i.e. it must be a user-session, if it is a private object.
objectHandle - The object handle as given from the PKCS#111 module.
Returns:
The object representing the PKCS#11 object. The returned object can be casted to the according sub-class.
Throws:
PKCS11Exception - If getting the attributes failed.
Preconditions
(session <> null)
Postconditions
(result <> null)

IAIK PKCS#11 Wrapper
version 1.2.17

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

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