public class AAProtocol extends Object
Constructor and Description |
---|
AAProtocol(PassportService service,
SecureMessagingWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
AAResult |
doAA(PublicKey publicKey,
String digestAlgorithm,
String signatureAlgorithm,
byte[] challenge)
Performs the Active Authentication protocol.
|
public AAProtocol(PassportService service, SecureMessagingWrapper wrapper)
public AAResult doAA(PublicKey publicKey, String digestAlgorithm, String signatureAlgorithm, byte[] challenge) throws net.sf.scuba.smartcards.CardServiceException
publicKey
- the public key to use (usually read from the card)digestAlgorithm
- the digest algorithm to use, or nullsignatureAlgorithm
- signature algorithmchallenge
- challengenet.sf.scuba.smartcards.CardServiceException
- on errorCopyright © 2016. All rights reserved.