java.lang.Object
iu.auth.pki.PkiPrincipal
- All Implemented Interfaces:
IuPrincipalIdentity,Principal
PKI principal identity implementation class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets 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.inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:IuPrincipalIdentityGets the point in time proof of principal identity was issued by an authentication provider.- Specified by:
getIssuedAtin interfaceIuPrincipalIdentity- Returns:
Instant
-
getAuthTime
Description copied from interface:IuPrincipalIdentityGets the point in time the principal's credentials were verified by the authentication provider.- Specified by:
getAuthTimein interfaceIuPrincipalIdentity- Returns:
Instant
-
getExpires
Description copied from interface:IuPrincipalIdentityGets the point in time after which the principal's authenticated session is expired.- Specified by:
getExpiresin interfaceIuPrincipalIdentity- Returns:
Instant
-
getSubject
Description copied from interface:IuPrincipalIdentityGets a subject including this principal, related principals, and implied credentials.- Specified by:
getSubjectin interfaceIuPrincipalIdentity- Returns:
Subject
-
hashCode
public int hashCode() -
equals
-
toString
-