Modifier and Type | Method and Description |
---|---|
static void |
pteid.Activate(String pin,
byte[] date,
int mode)
Activate the card (= update a specific file on the card).
|
static int |
pteid.ChangePIN(byte pinId,
String oldPin,
String newPin) |
static void |
pteid.CVC_Authenticate(byte[] signedChallenge)
Finish the CVC authentication with the card, to be called after a
CVC_Init() Parameters: signedChallenge: (IN) the challenge that was
signed by the private key corresponding to the CVC
|
static byte[] |
pteid.CVC_Init_SM101()
Only for IAS 1.0.1 cards, 1st to be executed starting a secure session
using symmetric keys.
|
static byte[] |
pteid.CVC_Init(byte[] cert)
Start a CVC authentication with the card.
|
static byte[] |
pteid.CVC_ReadFile(byte[] file)
Read out the contents of a file over a 'CVC channel'.
|
static void |
pteid.CVC_WriteAddr(PTEID_ADDR addr)
Write to the address file over a 'CVC channel' A successfull CVC_Init()
and CVC_Authenticate() must have been done before.
|
static void |
pteid.CVC_WriteFile(byte[] file,
int fileOffset,
byte[] in,
int mode)
Write to a file on the card over a 'CVC channel'.
|
static void |
pteid.CVC_WriteSOD(int fileOffset,
byte[] in,
int mode)
This function calls CVC_WriteFile() with the SOD file as path.
|
static void |
pteid.Exit(int mode) |
static PTEID_ADDR |
pteid.GetAddr() |
static int |
pteid.GetCardType() |
static PTEID_Certif[] |
pteid.GetCertificates() |
static PTEID_RSAPublicKey |
pteid.GetCVCRoot()
Get the CVC CA public key that this card uses to verify the CVC key;
allowing the application to select the correct CVC certificate for this
card.
|
static PTEID_ID |
pteid.GetID() |
static PTEID_PIC |
pteid.GetPic() |
static PTEID_Pin[] |
pteid.GetPINs() |
static PTEID_TokenInfo |
pteid.GetTokenInfo() |
static void |
pteid.Init(String readerName) |
static int |
pteid.IsActivated()
Get the activation status of the card.
|
static byte[] |
pteid.ReadFile(byte[] file,
byte pinId)
Read a file in the card.
|
static byte[] |
pteid.ReadSOD()
This function calls ReadFile() with the SOD file as path.
|
static void |
pteid.SelectADF(byte[] adf)
Select an application in the card.
|
static void |
pteid.SetSODCAs(PTEID_Certif[] certifs)
Specify the (root) certificates that are used to sign the DocumentSigner
certificates in the SOD file.
|
static void |
pteid.SetSODChecking(boolean check)
Turn on/off SOD checking.
|
static int |
pteid.UnblockPIN_Ext(byte pinId,
String puk,
String newPin,
int flags)
Extended Unblock PIN function: Values for ulFlags: - UNBLOCK_FLAG_NEW_PIN
- UNBLOCK_FLAG_PUK_MERGE E.g.
|
static int |
pteid.UnblockPIN(byte pinId,
String puk,
String newPin)
Unblock PIN with PIN change: If puk == null or newPin == null, a GUI is
shown asking for the PUK and the new PIN
|
static int |
pteid.VerifyPIN(byte pinId,
String pin) |
static void |
pteid.WriteFile(byte[] file,
byte[] in,
byte pinId)
Write to a file in the card.
|
static void |
pteid.WriteFileInOffset(byte[] file,
byte[] in,
byte pinId,
int offset)
Write to a file in the card, specifying the offset to start writing to.
|
Copyright © 2015–2016 Zetes. All rights reserved.