public static final class KeychainContainerName.V2ContainerId extends KeychainContainerName
The format is as follows:
Format ID | Type ID | Subtype ID | Key ID | Entrust ID
Each component is defined as follows:
Format ID4 - Container was created by Entelligence Security Provider
or TruePass, where the value pki70Client=true.Type ID0, this denotes
that the type ID is unknown.Subtype IDKey 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 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.
|
int |
getKeyId()
Gets the 'Key ID' key container name component; this is the stream
index for the key in this key container.
|
int |
getSubtypeId()
Gets the 'Subtype ID' key container name component; this identifies
the certificate definition associated with the key in this key
container.
|
int |
getTypeId()
Gets the 'Type ID' key container name component; this identifies the
certificate type associated with the key in this key container.
|
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 int getTypeId()
public int getSubtypeId()
public int getKeyId()
public java.lang.String getEntrustId()