java.lang.Object
iu.auth.pki.PkiPrincipal
- All Implemented Interfaces:
IuPrincipalIdentity
,Principal
PKI principal identity implementation class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the point in time the principal's credentials were verified by the authentication provider.Gets the point in time after which the principal's authenticated session is expired.Gets the point in time proof of principal identity was issued by an authentication provider.getName()
Gets a subject including this principal, related principals, and implied credentials.int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.iu.auth.IuPrincipalIdentity
implies
-
Constructor Details
-
PkiPrincipal
Constructor.- Parameters:
pkp
- Authentication realm metadata with original algorithm and certificate values
-
-
Method Details
-
getName
-
getIssuedAt
Description copied from interface:IuPrincipalIdentity
Gets the point in time proof of principal identity was issued by an authentication provider.- Specified by:
getIssuedAt
in interfaceIuPrincipalIdentity
- Returns:
Instant
-
getAuthTime
Description copied from interface:IuPrincipalIdentity
Gets the point in time the principal's credentials were verified by the authentication provider.- Specified by:
getAuthTime
in interfaceIuPrincipalIdentity
- Returns:
Instant
-
getExpires
Description copied from interface:IuPrincipalIdentity
Gets the point in time after which the principal's authenticated session is expired.- Specified by:
getExpires
in interfaceIuPrincipalIdentity
- Returns:
Instant
-
getSubject
Description copied from interface:IuPrincipalIdentity
Gets a subject including this principal, related principals, and implied credentials.- Specified by:
getSubject
in interfaceIuPrincipalIdentity
- Returns:
Subject
-
hashCode
public int hashCode() -
equals
-
toString
-