public class VersionParameters extends Version implements Parameters
Constructor and Description |
---|
VersionParameters()
Create a new VersionParameters object with the major and minor version set to zero.
|
VersionParameters(byte major,
byte minor)
Create a new VersionParameters object with the given major and minor version.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getPKCS11ParamsObject()
Get this parameters object as a CK_VERSION object.
|
void |
setMajor(byte major)
Set the major version number.
|
void |
setMinor(byte minor)
Set the minor version number.
|
void |
setPKCS11ParamsObject(CK_VERSION input)
This method allows setting the major and minor version numbers using a version object of the
lower level API.
|
public VersionParameters()
public VersionParameters(byte major, byte minor)
major
- The major version number.minor
- The minor version number.public java.lang.Object getPKCS11ParamsObject()
getPKCS11ParamsObject
in interface Parameters
public void setPKCS11ParamsObject(CK_VERSION input)
input
- The version objet providing the major and minor version.public void setMajor(byte major)
major
- The major version number.public void setMinor(byte minor)
minor
- The minor version number.IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9