public class P11IdentityId extends Object implements Comparable<P11IdentityId>
P11Identity.| Constructor and Description |
|---|
P11IdentityId(P11SlotIdentifier slotId,
P11ObjectIdentifier keyId,
String publicKeyLabel,
String certLabel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(P11IdentityId obj) |
boolean |
equals(Object obj) |
P11ObjectIdentifier |
getCertId() |
P11ObjectIdentifier |
getKeyId() |
P11ObjectIdentifier |
getPublicKeyId() |
P11SlotIdentifier |
getSlotId() |
int |
hashCode() |
boolean |
match(P11SlotIdentifier slotId,
String keyLabel) |
void |
setCertLabel(String certLabel) |
String |
toString() |
public P11IdentityId(P11SlotIdentifier slotId, P11ObjectIdentifier keyId, String publicKeyLabel, String certLabel)
slotId - Slot identifier. Must not be null.keyId - Object identifier. Must not be null.publicKeyLabel - Label of the public keycertLabel - Label of the certificatepublic P11SlotIdentifier getSlotId()
public P11ObjectIdentifier getKeyId()
public P11ObjectIdentifier getPublicKeyId()
public void setCertLabel(String certLabel)
public P11ObjectIdentifier getCertId()
public int compareTo(P11IdentityId obj)
compareTo in interface Comparable<P11IdentityId>public boolean match(P11SlotIdentifier slotId, String keyLabel)
Copyright © 2020. All rights reserved.