🎴 Flashcard Mode
TCS Security API Programming
Card1 / 20
Mastered0
Review0
QuestionClick to flip
What is the signature of the sign method in the security API?
AnswerClick to flip back
A
java.lang.String sign(java.lang.String data) throws SecurityException
💡 Explanation:
The sign method in the security API accepts a single String parameter (data) and throws SecurityException. Options A and B incorrectly include a key parameter, while option C is missing the required exception declaration that security operations typically need.