From: ravi k. <rk...@ya...> - 2013-04-19 07:35:59
|
Hi I recently started working on jTss. I have created a 2048 bit legacy key. I am getting Internal Software error while trying to export rsa key info using the below method objKey.getAttribData(TcTssConstants.TSS_TSPATTRIB_RSAKEY_INFO, TcTssConstants.TSS_TSPATTRIB_KEYINFO_RSA_EXPONENT); The complete error stack is given below iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Getter method did throw unknown exception (not a TcTssException). null at iaik.tc.tss.impl.java.tsp.TcAttributes.getAttribData(TcAttributes.java:170). but when i try to get rsa modulus using below method call objKey.getAttribData(TcTssConstants.TSS_TSPATTRIB_RSAKEY_INFO, TcTssConstants.TSS_TSPATTRIB_KEYINFO_RSA_MODULUS); i am getting result without error. My system configuration is windows7 Ultimate 64 bit,java-64 bit Kindly assist me Regards Ravi |