Package io.deephaven.enterprise.auth
Class PubKeyFile
java.lang.Object
io.deephaven.enterprise.auth.KeyPairFile
io.deephaven.enterprise.auth.PubKeyFile
-
Field Summary
Fields inherited from class io.deephaven.enterprise.auth.KeyPairFile
EC_SENTINEL, OPERATEAS_TAG, PRIVATE_TAG, PUBLIC_TAG, USER_TAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PubKeyFilefromKeyText(String source, String user, String pubKey) Create a new public key file from the already parsed valuesbyte[]getSignedBytes(byte[] bytes) Methods inherited from class io.deephaven.enterprise.auth.KeyPairFile
addEcSentinel, generateNewKeys, generateNewKeys, getPublicKey, getUser, hasEcSentinel, maybeAddSentinelAndBase64Encode, maybeAddSentinelAndEncode, readFromStream, readKeyLines, stripEcSentinel
-
Constructor Details
-
PubKeyFile
-
PubKeyFile
-
-
Method Details
-
fromKeyText
Create a new public key file from the already parsed values- Parameters:
source- source used to identify key when an error occursuser- the userpubKey- the public key (base64 encoded)- Returns:
- the PubKeyFile structure representing the parameters
-
getOperateAs
- Overrides:
getOperateAsin classKeyPairFile
-
getPrivateKey
- Overrides:
getPrivateKeyin classKeyPairFile
-
getSignedBytes
public byte[] getSignedBytes(byte[] bytes) - Overrides:
getSignedBytesin classKeyPairFile
-