public static final class KeychainContainerName.V1ContainerId extends KeychainContainerName
The format is as follows:
Format ID | Type ID | Key ID | Entrust ID
Each component is defined as follows:
Format ID1 - Container was created by Entelligence Security Provider.
2 - Container was created by TruePass 6.0, or TruePass 7.0,
where the value pki70Client=false.Type ID20 - Encryption or Dual Usage.80 - Verification.Key ID0). It
denotes the position of that key pair in the stream. A container created
during enrollment has a key ID of 0, but when a new key pair
is created during the first key update, the key ID of that container is
1.Entrust ID
Two such containers are considered to belong to the same identity if they
have the same Format ID and Entrust ID.
KeychainContainerName.V1ContainerId, KeychainContainerName.V2ContainerId| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsToSameIdentity(ContainerName compareTo)
Returns whether or not this container and the given container belong
to the same identity.
|
java.lang.String |
getEntrustId()
Gets the 'Entrust ID' key container name component; this is a unique
identifier for the digital identity that the key in this key
container belongs to.
|
java.lang.String |
getFormatId()
Gets the 'Format ID' key container name component; this is an
identifier for the software that was used to create/recover this
digital identity.
|
int |
getKeyId()
Gets the 'Key ID' key container name component; this is the stream
index for the key in this key container.
|
java.lang.String |
getTypeId()
Gets the 'Type ID' key container name component; this identifies the
key in this container as either 'Encryption' or 'Dual-Usage' (20) or
'Verification' (80).
|
getContainerNamepublic boolean belongsToSameIdentity(ContainerName compareTo)
ContainerNamebelongsToSameIdentity in class ContainerNamecompareTo - the container name to checktrue if this container belongs to the same identity as
the given container, false otherwise.public java.lang.String getFormatId()
public java.lang.String getTypeId()
public int getKeyId()
public java.lang.String getEntrustId()