public class PACEResult extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PACEResult.PACEGMMappingResult |
static class |
PACEResult.PACEGMWithDHMappingResult |
static class |
PACEResult.PACEGMWithECDHMappingResult |
static class |
PACEResult.PACEIMMappingResult |
static class |
PACEResult.PACEMappingResult |
Constructor and Description |
---|
PACEResult(PACEInfo.MappingType mappingType,
String agreementAlg,
String cipherAlg,
String digestAlg,
int keyLength,
PACEResult.PACEMappingResult mappingResult,
KeyPair pcdKeyPair,
PublicKey piccPublicKey,
SecureMessagingWrapper wrapper)
The result of a PACE protocol run.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAgreementAlg() |
String |
getCipherAlg() |
String |
getDigestAlg() |
int |
getKeyLength() |
PACEResult.PACEMappingResult |
getMappingResult() |
PACEInfo.MappingType |
getMappingType() |
KeyPair |
getPCDKeyPair() |
PublicKey |
getPICCPublicKey() |
SecureMessagingWrapper |
getWrapper() |
int |
hashCode() |
void |
setDigestAlg(String digestAlg) |
String |
toString() |
public PACEResult(PACEInfo.MappingType mappingType, String agreementAlg, String cipherAlg, String digestAlg, int keyLength, PACEResult.PACEMappingResult mappingResult, KeyPair pcdKeyPair, PublicKey piccPublicKey, SecureMessagingWrapper wrapper)
mappingType
- the mapping type, GM
, IM
, or CAM
agreementAlg
- the agreement algorithm, "DH"
or "ECDH"
cipherAlg
- the cipher algorithmdigestAlg
- the digest algorithmkeyLength
- the key lengthmappingResult
- the result of the mapping steppcdKeyPair
- the key pair generated by the PCDpiccPublicKey
- the public key sent by the PICCwrapper
- the resulting secure messaging wrapperpublic PACEResult.PACEMappingResult getMappingResult()
public SecureMessagingWrapper getWrapper()
public PACEInfo.MappingType getMappingType()
public String getAgreementAlg()
public String getCipherAlg()
public String getDigestAlg()
public void setDigestAlg(String digestAlg)
public int getKeyLength()
public KeyPair getPCDKeyPair()
public PublicKey getPICCPublicKey()
Copyright © 2017. All rights reserved.