Package io.fusionauth.domain
Class Key
java.lang.Object
io.fusionauth.domain.Key
Domain for a public key, key pair or an HMAC secret. This is used by KeyMaster to manage keys for JWTs, SAML, etc.
- Author:
- Brian Pontarelli
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
algorithm
-
certificate
-
certificateInformation
-
expirationInstant
-
hasPrivateKey
-
id
-
insertInstant
-
issuer
-
kid
-
lastUpdateInstant
-
length
-
name
-
privateKey
-
publicKey
-
secret
-
type
-
-
Constructor Details
-
Key
public Key() -
Key
-
-
Method Details
-
canSign
public boolean canSign() -
canVerify
public boolean canVerify() -
equals
-
getDisplayName
-
hasPrivateKey
public boolean hasPrivateKey() -
hashCode
public int hashCode() -
isExpired
public boolean isExpired() -
isPair
public boolean isPair()- Returns:
- True if the key has a public and private key.
-
normalize
public void normalize() -
privateKeyOnly
public boolean privateKeyOnly() -
secure
-
toString
-
use
-
use
-