JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Parameters : byte [] buffer and offset
Moderator: UNKNwYSHSA
Parameters : byte [] buffer and offset
Could anybody help me understand the arguments to the functions getModulus(byte [] buffer, short offset) and getExponent(byte [] buffer, short offset) well. What is byte [] buffer and offset?
Re: Parameters : byte [] buffer and offset
buffer is where to output the data, offset is where to start in the buffer.
Code: Select all
byte[] buffer = adpu.getBuffer();
short offset = (short)0;
offset += key.getModulus(buffer, offset);
offset += key.getExponent(buffer, offset);
Who is online
Users browsing this forum: No registered users and 24 guests