04-09-2019 15:16:04  INFO [main] ToolCapCtsBCCS:? - Start Program
04-09-2019 15:16:18  INFO [AWT-EventQueue-0] LoginForm:? - Load PKCS#11 library successfully
04-09-2019 15:16:18  INFO [AWT-EventQueue-0] LoginForm:? - Connect Token OK: Session = 193888364
04-09-2019 15:42:07 ERROR [Thread-4] ah:? - 0x00000101
iaik.pkcs.pkcs11.wrapper.PKCS11Exception: 0x00000101
	at iaik.pkcs.pkcs11.wrapper.PKCS11Implementation.C_GenerateKeyPair(Native Method)
	at iaik.pkcs.pkcs11.Session.generateKeyPair(Session.java:1436)
	at tool_cap_cts_bccs.ah.a(Unknown Source)
	at tool_cap_cts_bccs.ProcessGenerateKeyForm.a(Unknown Source)
	at tool_cap_cts_bccs.ak.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
04-09-2019 15:42:27  INFO [main] ToolCapCtsBCCS:? - Start Program
04-09-2019 15:42:37  INFO [AWT-EventQueue-0] LoginForm:? - Load PKCS#11 library successfully
04-09-2019 15:42:37  INFO [AWT-EventQueue-0] LoginForm:? - Connect Token OK: Session = 147830336
04-09-2019 15:43:03  INFO [AWT-EventQueue-0] MainForm:? - Có l?i x?y ra trong quá trình xác th?c yêu c?u sinh khóa: ErrorCode = ERR_TOOL_005.
Description:Mã OTP không h?p l?
04-09-2019 15:45:20  INFO [Thread-5] ah:? - 04CAD531AC0461D742532E0B6B58B803D41861C8
04-09-2019 15:45:20  INFO [Thread-5] ah:? - B202488222503FB0343616694B5E15622DCCFB09
04-09-2019 15:45:20  INFO [Thread-5] ah:? - object handle: 6
04-09-2019 15:45:20  INFO [Thread-5] ah:? - ################################################################################
04-09-2019 15:45:20  INFO [Thread-5] ah:? - searching for keys
04-09-2019 15:45:21  INFO [Thread-5] ah:? - found these private RSA signing keys:
04-09-2019 15:45:21  INFO [Thread-5] ah:? - ________________________________________________________________________________
04-09-2019 15:45:21  INFO [Thread-5] ah:? - RSA signature key with handle: 4
04-09-2019 15:45:21  INFO [Thread-5] ah:? -   Object Class: Private Key
  Token: true
  Private: true
  Modifiable: true
  Label: Viettel-CA Token:?Y BAN NHÂN DÂN XÃ ?ÔNG CÁC's Viettel Group ID
  Key Type: RSA
  ID: 04cad531ac0461d742532e0b6b58b803d41861c8
  Start Date: <NULL_PTR>
  End Date: <NULL_PTR>
  Derive: false
  Local: true
  Key Generation Mechanism: <Attribute not present>
  Allowed Mechanisms: <Attribute not present>
  Subject (DER, hex): 3071311e301c060a0992268993f22c6401010c0e4d53543a31303030323138333832312c302a06035504030c23e1bba6592042414e204e48c3824e2044c3824e2058c38320c490c3944e472043c381433114301206035504070c0b5468c3a1692042c3ac6e68310b300906035504061302564e
  Sensitive: true
  Secondary Authentication: <Attribute not present>
  Secondary Authentication PIN Flags: <Attribute not present>
  Decrypt: true
  Sign: true
  Sign Recover: true
  Unwrap: true
  Extractable: false
  Always Sensitive: true
  Never Extractable: true
  Wrap With Trusted: false
  Unwrap Template: <Attribute not present>
  Always Authenticate: false
  Modulus (hex): b614b4ce4600f3d075de73b433085635535811df168d463b508e884841c08185e778c2cc77bc5197d48c48140d52b6ee885fc584ea859420f2e8ba12b39c6597dba1bcafb76e390af99b92b1d95d31b97de428c2e8c74bb28a8caf591896494417105a114f7b43ea8a8d259cecc17a7eae045000abdb7b1a74c1cdafa3ba9df7
  Public Exponent (hex): 010001
  Private Exponent (hex): <Value is sensitive>
  Prime 1 (hex): <Value is sensitive>
  Prime 2 (hex): <Value is sensitive>
  Exponent 1 (hex): <Value is sensitive>
  Exponent 2 (hex): <Value is sensitive>
  Coefficient (hex): <Value is sensitive>
04-09-2019 15:45:21  INFO [Thread-5] ah:? - --------------------------------------------------------------------------------
04-09-2019 15:45:21  INFO [Thread-5] ah:? - The certificate for this key is: 
04-09-2019 15:45:21  INFO [Thread-5] ah:? - Version: 3
Serial number: 111681113028408966821000000000000198858
Signature algorithm: sha1WithRSAEncryption (1.2.840.113549.1.1.5) 
Issuer: CN=Viettel-CA,O=Viettel Group,C=VN
Valid not before: Tue Mar 22 08:27:55 ICT 2016
      not after: Mon Jun 22 08:27:55 ICT 2020
Subject: C=VN,L=Thái Bình,CN=?Y BAN NHÂN DÂN XÃ ?ÔNG CÁC,UID=MST:1000218382
Sun RSA public key, 1024 bits
  modulus: 127861544896540022124137630550522384688838527741337892741254095974130331863940900363432263395413473077791460855286486458527023418325538711532997255880944350792604381861710264846805699940827976527546432728400466544942338518254970857716513597687686692941449286506642611619311800352228014151763672698806030999031
  public exponent: 65537
Certificate Fingerprint (MD5)  : 8D:EE:17:CF:42:C2:4D:52:F5:C4:FC:BE:5F:4D:CD:FE
Certificate Fingerprint (SHA-1): 59:73:12:FA:0A:AE:84:59:B8:0F:94:E5:9D:D7:D9:47:1B:E6:A9:CF

Extension 1:     critical        KeyUsage
digitalSignature | nonRepudiation | keyEncipherment

Extension 2:     critical        BasicConstraints
CA: no

Extension 3:     not critical    SubjectKeyIdentifier
77:5A:44:4F:1A:25:E9:D9:43:2E:41:1E:5E:56:37:97:1A:FC:2C:45

Extension 4:     not critical    CRLDistributionPoints
DistributionPoint: uniformResourceIdentifier: http://crl.viettel-ca.vn/Viettel-CA.crl
CRLIssuer:
directoryName: C=VN,O=Viettel Group,CN=Viettel-CA

Extension 5:     not critical    AuthorityInfoAccess
accessMethod: OBJECT ID = ocsp
accessLocation: uniformResourceIdentifier: http://ocsp.viettel-ca.vn


Extension 6:     not critical    AuthorityKeyIdentifier
KeyIdentifier: 08:60:E6:1F:1B:14:D9:48:80:0B:5E:A7:5C:73:25:2C:20:0D:F9:D6


04-09-2019 15:45:21  INFO [Thread-5] ah:? - ________________________________________________________________________________
04-09-2019 15:45:21  INFO [Thread-5] ah:? - ________________________________________________________________________________
04-09-2019 15:45:21  INFO [Thread-5] ah:? - RSA signature key with handle: 6
04-09-2019 15:45:21  INFO [Thread-5] ah:? -   Object Class: Private Key
  Token: true
  Private: true
  Modifiable: true
  Label: <NULL_PTR>
  Key Type: RSA
  ID: b202488222503fb0343616694b5e15622dccfb09
  Start Date: <NULL_PTR>
  End Date: <NULL_PTR>
  Derive: false
  Local: true
  Key Generation Mechanism: <Attribute not present>
  Allowed Mechanisms: <Attribute not present>
  Subject (DER, hex): <NULL_PTR>
  Sensitive: true
  Secondary Authentication: <Attribute not present>
  Secondary Authentication PIN Flags: <Attribute not present>
  Decrypt: true
  Sign: true
  Sign Recover: true
  Unwrap: true
  Extractable: false
  Always Sensitive: true
  Never Extractable: true
  Wrap With Trusted: false
  Unwrap Template: <Attribute not present>
  Always Authenticate: false
  Modulus (hex): c0d3f841e26b47207cc49fa93cbdf3f9ba1db622c01dc3d67f89f958262b2bcb20a5d848f60fb56a03cecf9cd1a06dfa48f67e9d24ab38e17f31fc3c19946dc2f8ae3a10a961b7235d5e6205f591db8237a0ce1ad8a5dae1641b50d9809556a628db1659537fce9eb89ab0f7bb5a514944d48b1bc4ff2ddc72d1bb8456a1f599
  Public Exponent (hex): 010001
  Private Exponent (hex): <Value is sensitive>
  Prime 1 (hex): <Value is sensitive>
  Prime 2 (hex): <Value is sensitive>
  Exponent 1 (hex): <Value is sensitive>
  Exponent 2 (hex): <Value is sensitive>
  Coefficient (hex): <Value is sensitive>
04-09-2019 15:45:21  INFO [Thread-5] ah:? - --------------------------------------------------------------------------------
04-09-2019 15:45:21  INFO [Thread-5] ah:? - The certificate for this key is: 
04-09-2019 15:45:21  INFO [Thread-5] ah:? - <no certificate found>
04-09-2019 15:45:21  INFO [Thread-5] ah:? - ________________________________________________________________________________
04-09-2019 15:45:21  INFO [Thread-5] ah:? - Enter the handle of the key to use for signing or 'x' to exit: 
04-09-2019 15:45:21  INFO [Thread-5] ah:? - ################################################################################
04-09-2019 15:45:21  INFO [Thread-5] ah:? - signing certificate request...
04-09-2019 15:45:21  INFO [Thread-5] ah:? - finished
04-09-2019 15:45:21  INFO [Thread-5] ah:? - -----BEGIN NEW CERTIFICATE REQUEST-----
04-09-2019 15:45:21  INFO [Thread-5] ah:? - MIIBZzCB0QIBADAoMQswCQYDVQQGEwJWTjELMAkGA1UEBxMCSE4xDDAKBgNVBAMTA0FCQzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwNP4QeJrRyB8xJ+pPL3z+bodtiLAHcPWf4n5WCYrK8sgpdhI9g+1agPOz5zRoG36SPZ+nSSrOOF/Mfw8GZRtwviuOhCpYbcjXV5iBfWR24I3oM4a2KXa4WQbUNmAlVamKNsWWVN/zp64mrD3u1pRSUTUixvE/y3cctG7hFah9ZkCAwEAAaAAMA0GCSqGSIb3DQEBBQUAA4GBAANi66UTWLYYeunPD4AzQad/iQmp8z4XS+JEBIc7L6YZkaYWsxVrY4Jogph2mLHGDcO9bWOydA7pGORDJxk7eu0VtNrl0LeBDFM4vTEbLa41777MsnmlaIxu9CKbmFrcywJCLeDLHDMXCwndsGi5tD96EknruxihR360MTU2kJSA
04-09-2019 15:45:21  INFO [Thread-5] ah:? - -----END NEW CERTIFICATE REQUEST-----
04-09-2019 15:45:22  INFO [Thread-5] ProcessGenerateKeyForm:? - Deactive TransId thành công
04-09-2019 15:45:22  INFO [Thread-5] ProcessGenerateKeyForm:? - Deactive TransId không thành công
- Mã l?i: 00
- Mô t? l?i: Thành công
04-09-2019 15:47:50  INFO [Thread-6] ah:? - ################################################################################
04-09-2019 15:47:50  INFO [Thread-6] ah:? - ################################################################################
04-09-2019 15:47:50  INFO [Thread-6] ah:? - Searching for corresponding private key on token.
04-09-2019 15:47:50  INFO [Thread-6] ah:? - found a correponding key on the token: 
04-09-2019 15:47:50  INFO [Thread-6] ah:? -   Object Class: Private Key
  Token: true
  Private: true
  Modifiable: true
  Label: <NULL_PTR>
  Key Type: RSA
  ID: b202488222503fb0343616694b5e15622dccfb09
  Start Date: <NULL_PTR>
  End Date: <NULL_PTR>
  Derive: false
  Local: true
  Key Generation Mechanism: <Attribute not present>
  Allowed Mechanisms: <Attribute not present>
  Subject (DER, hex): <NULL_PTR>
  Sensitive: true
  Secondary Authentication: <Attribute not present>
  Secondary Authentication PIN Flags: <Attribute not present>
  Decrypt: true
  Sign: true
  Sign Recover: true
  Unwrap: true
  Extractable: false
  Always Sensitive: true
  Never Extractable: true
  Wrap With Trusted: false
  Unwrap Template: <Attribute not present>
  Always Authenticate: false
  Modulus (hex): c0d3f841e26b47207cc49fa93cbdf3f9ba1db622c01dc3d67f89f958262b2bcb20a5d848f60fb56a03cecf9cd1a06dfa48f67e9d24ab38e17f31fc3c19946dc2f8ae3a10a961b7235d5e6205f591db8237a0ce1ad8a5dae1641b50d9809556a628db1659537fce9eb89ab0f7bb5a514944d48b1bc4ff2ddc72d1bb8456a1f599
  Public Exponent (hex): 010001
  Private Exponent (hex): <Value is sensitive>
  Prime 1 (hex): <Value is sensitive>
  Prime 2 (hex): <Value is sensitive>
  Exponent 1 (hex): <Value is sensitive>
  Exponent 2 (hex): <Value is sensitive>
  Coefficient (hex): <Value is sensitive>
04-09-2019 15:47:50  INFO [Thread-6] ah:? - ################################################################################
04-09-2019 15:47:50  INFO [Thread-6] ah:? - ################################################################################
04-09-2019 15:47:50  INFO [Thread-6] ah:? - Create certificate object(s) on token.
04-09-2019 15:47:50  INFO [Thread-6] ah:? -   Object Class: Certificate
  Token: true
  Private: false
  Modifiable: <Attribute not present>
  Label: CÔNG TY C? PH?N BBI THÁI BÌNH's Viettel-CA Certificate
  Certificate Type: X.509 Public Key
  Trusted: <Attribute not present>
  Certificate Category: <Attribute not present>
  Check Value: <Attribute not present>
  Start Date: <Attribute not present>
  End Date: <Attribute not present>
  Subject (DER, hex): 308190311c301a06092a864886f70d010901160d59454e40474d41494c2e434f4d311e301c060a0992268993f22c6401010c0e4d53543a31303031313932353835312d302b06035504030c2443c3944e472054592043e1bb94205048e1baa64e20424249205448c381492042c38c4e483114301206035504070c0b5448c381492042c38c4e48310b300906035504061302564e
  ID (hex): b202488222503fb0343616694b5e15622dccfb09
  Issuer (DER, hex): 304e310b300906035504061302564e3112301006035504070c0948c3a0204ee1bb996931163014060355040a130d5669657474656c2047726f7570311330110603550403130a5669657474656c2d4341
  Serial Number (DER, hex): 5404fffeb7033fb316d672201b7effe3
  Value (BER, hex): 308204343082031ca00302010202105404fffeb7033fb316d672201b7effe3300d06092a864886f70d0101050500304e310b300906035504061302564e3112301006035504070c0948c3a0204ee1bb996931163014060355040a130d5669657474656c2047726f7570311330110603550403130a5669657474656c2d4341301e170d3139303930343038333533325a170d3232303930343038333533325a308190311c301a06092a864886f70d010901160d59454e40474d41494c2e434f4d311e301c060a0992268993f22c6401010c0e4d53543a31303031313932353835312d302b06035504030c2443c3944e472054592043e1bb94205048e1baa64e20424249205448c381492042c38c4e483114301206035504070c0b5448c381492042c38c4e48310b300906035504061302564e30819f300d06092a864886f70d010101050003818d0030818902818100c0d3f841e26b47207cc49fa93cbdf3f9ba1db622c01dc3d67f89f958262b2bcb20a5d848f60fb56a03cecf9cd1a06dfa48f67e9d24ab38e17f31fc3c19946dc2f8ae3a10a961b7235d5e6205f591db8237a0ce1ad8a5dae1641b50d9809556a628db1659537fce9eb89ab0f7bb5a514944d48b1bc4ff2ddc72d1bb8456a1f5990203010001a382014d30820149303506082b0601050507010104293027302506082b060105050730018619687474703a2f2f6f6373702e7669657474656c2d63612e766e301d0603551d0e0416041476655376fb0345ecbf13a8cde87861af47d64f45300c0603551d130101ff04023000301f0603551d23041830168014fecb4114e95da7d9320de4b2085cf15cecb6b2b53081920603551d1f04818a308187308184a02ea02c862a687474703a2f2f63726c2e7669657474656c2d63612e766e2f5669657474656c2d43412d76332e63726ca252a450304e3113301106035504030c0a5669657474656c2d434131163014060355040a0c0d5669657474656c2047726f75703112301006035504070c0948c3a0204ee1bb9969310b300906035504061302564e300e0603551d0f0101ff0404030205e0301d0603551d250416301406082b0601050507030206082b06010505070304300d06092a864886f70d010105050003820101008d2d49f1e91db1e7265d28721373e4632e4956347b448da41fd9c2e0fe7ca7e50592a5b2743f1a00aaa98d76ece816ff946d0e5edec610448c659fe26099934bf5b6f36ad87072db4be14f420abd12e6342f8e093ca7e051a672b2f98dd818f1ed11c5a26289b984f12fa24bb1b34541d0cb5b34a0666199a16740d312774e972946aeb2988ff3ca09733164eb2d74b638df147134ce681fefbf95d0f965ffe4995bef32977b4a9b5bceb2fd23253dac1a895fd58610747e2f5c0d2291b9c0f1507ca40731ae4ca73fb8b03db66eb41a5103433d293abcdca3c0cefd45257116b7516a39eee6073defe3318474158afd39cb358cc4c5781388ca050be1c45008
  URL: <Attribute not present>
  Hash Of Subject Public Key: <Attribute not present>
  Hash Of Issuer Public Key: <Attribute not present>
  Java MIDP Security Domain: <Attribute not present>
04-09-2019 15:47:50  INFO [Thread-6] ah:? - ________________________________________________________________________________
04-09-2019 15:47:51  INFO [Thread-6] ah:? - object handle: 6
04-09-2019 15:47:51  INFO [Thread-6] ah:? - found: 1 certificates
04-09-2019 15:47:51  INFO [Thread-6] ah:? - 04CAD531AC0461D742532E0B6B58B803D41861C8
04-09-2019 15:47:53  INFO [Thread-6] ah:? - ################################################################################
04-09-2019 15:47:53  INFO [Thread-6] ProcessImportCertForm:? - Hoàn thành cài ??t ch?ng th? s?...
04-09-2019 15:47:53  INFO [Thread-6] ProcessImportCertForm:? - C?p nh?t tr?ng thái cài ??t CTS thành công
04-09-2019 15:47:53  INFO [Thread-6] ProcessImportCertForm:? - C?p nh?t tr?ng thái cài ??t CTS không thành công
- Mã l?i: 00
- Mô t? l?i: Thành công
04-09-2019 15:47:53  INFO [Thread-6] ProcessImportCertForm:? - Deactive TransId không thành công
