Top Description Fields Constructors Methods
sun.security.pkcs11.wrapper

public Class CK_DATE

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable

class .

PKCS#11 structure:

typedef struct CK_DATE {  
  CK_CHAR year[4];  
  CK_CHAR month[2];  
  CK_CHAR day[2];  
} CK_DATE;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public char[]
day

PKCS#11:

  CK_CHAR day[2];    - the day ("01" - "31")
public char[]
month

PKCS#11:

  CK_CHAR month[2];  - the month ("01" - "12")
public char[]
year

PKCS#11:

  CK_CHAR year[4];   - the year ("1900" - "9999")

Constructor Summary

AccessConstructor and Description
public
CK_DATE(char[] year, char[] month, char[] day)

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

A clone of this object.
clone
()

Overrides java.lang.Object.clone.

Create a (deep) clone of this object.

public String

Returns:

the string representation of CK_DATE
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_DATE.

Inherited from java.lang.Object:
equalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

dayback to summary
public char[] day

PKCS#11:

  CK_CHAR day[2];    - the day ("01" - "31")
monthback to summary
public char[] month

PKCS#11:

  CK_CHAR month[2];  - the month ("01" - "12")
yearback to summary
public char[] year

PKCS#11:

  CK_CHAR year[4];   - the year ("1900" - "9999")

Constructor Detail

CK_DATEback to summary
public CK_DATE(char[] year, char[] month, char[] day)

Method Detail

cloneback to summary
public Object clone()

Overrides java.lang.Object.clone.

Create a (deep) clone of this object.

Returns:Object

A clone of this object.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_DATE.

Returns:String

the string representation of CK_DATE