File: BEID_CardVersionInfo.java

package info (click to toggle)
beid 3.5.2.dfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 147,240 kB
  • ctags: 34,507
  • sloc: cpp: 149,944; ansic: 41,577; java: 8,927; cs: 6,528; sh: 2,426; perl: 1,866; xml: 805; python: 463; makefile: 263; lex: 92
file content (120 lines) | stat: -rw-r--r-- 4,880 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.35
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package be.belgium.eid;

/******************************************************************************//**
  * Class for the info document.
  * \see BEID_EIDCard.getVersionInfo() BEID_EIDCard.getDocument()
  *********************************************************************************/
public class BEID_CardVersionInfo extends BEID_XMLDoc {
  private long swigCPtr;

  protected BEID_CardVersionInfo(long cPtr, boolean cMemoryOwn) {
    super(beidlibJava_WrapperJNI.SWIGBEID_CardVersionInfoUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected static long getCPtr(BEID_CardVersionInfo obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      beidlibJava_WrapperJNI.delete_BEID_CardVersionInfo(swigCPtr);
    }
    swigCPtr = 0;
    super.delete();
  }

	/** Get the serial number of the card */
  public String getSerialNumber() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getSerialNumber(swigCPtr, this);
  }

	/** Get the componenCode of the card  */
  public String getComponentCode() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getComponentCode(swigCPtr, this);
  }

	/** Get the OS number of the card */
  public String getOsNumber() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getOsNumber(swigCPtr, this);
  }

	/** Get the OS version of the card */
  public String getOsVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getOsVersion(swigCPtr, this);
  }

	/** Get the softmask number of the card */
  public String getSoftmaskNumber() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getSoftmaskNumber(swigCPtr, this);
  }

	/** Get the softmask version of the card */
  public String getSoftmaskVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getSoftmaskVersion(swigCPtr, this);
  }

	/** Get the applet version of the card */
  public String getAppletVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getAppletVersion(swigCPtr, this);
  }

	/** Get the global Os version of the card */
  public String getGlobalOsVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getGlobalOsVersion(swigCPtr, this);
  }

	/** Get the applet interface version of the card */
  public String getAppletInterfaceVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getAppletInterfaceVersion(swigCPtr, this);
  }

	/** Get the PKCS#1 support of the card */
  public String getPKCS1Support() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getPKCS1Support(swigCPtr, this);
  }

	/** Get the key exchange version of the card */
  public String getKeyExchangeVersion() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getKeyExchangeVersion(swigCPtr, this);
  }

	/** Get the applet life cycle of the card */
  public String getAppletLifeCycle() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getAppletLifeCycle(swigCPtr, this);
  }

	/** Get field 'GraphicalPersonalisation' from the TokenInfo file */
  public String getGraphicalPersonalisation() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getGraphicalPersonalisation(swigCPtr, this);
  }

	/** Get field 'ElectricalPersonalisation' from the TokenInfo file */
  public String getElectricalPersonalisation() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getElectricalPersonalisation(swigCPtr, this);
  }

	/** Get field 'ElectricalPersonalisationInterface' from the TokenInfo file */
  public String getElectricalPersonalisationInterface() throws java.lang.Exception {
    return beidlibJava_WrapperJNI.BEID_CardVersionInfo_getElectricalPersonalisationInterface(swigCPtr, this);
  }

	/** Get the signature of the card info */
  public BEID_ByteArray getSignature() throws java.lang.Exception {
    return new BEID_ByteArray(beidlibJava_WrapperJNI.BEID_CardVersionInfo_getSignature(swigCPtr, this), false);
  }

}