Interface OAuthServerKeyManager
-
- All Known Implementing Classes:
OAuthServerKeyManagerImpl
public interface OAuthServerKeyManagerService to manage the key and shared secret used by Nuxeo server :- private/public key pair used by Nuxeo to use Signed request with RSA
- shared key between Nuxeo and Shindig to manage Signed Fetch
- Author:
- tiry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBarePrivateKey()Returns the Private Key used by Nuxeo server to do RSA Signing.StringgetBarePublicCertificate()Returns the Public Key certificate used by Nuxeo server to do RSA Signing.NuxeoOAuthConsumergetInternalConsumer()Returns theNuxeoOAuthConsumerrepresenting local (embedded) Shindig instance.StringgetInternalKey()Returns the consumerKey used in Shindig => Nuxeo sign fetch.StringgetInternalSecret()Returns the consumerSecret (HMAC) used in Shindig => Nuxeo sign fetch.StringgetKeyName()Returns key name (not really used).StringgetPrivateKey()Returns the Private Key used by Nuxeo server to do RSA Signing.StringgetPublicKeyCertificate()Returns the Public Key certificate used by Nuxeo server to do RSA Signing.
-
-
-
Method Detail
-
getPublicKeyCertificate
String getPublicKeyCertificate()
Returns the Public Key certificate used by Nuxeo server to do RSA Signing.
-
getBarePublicCertificate
String getBarePublicCertificate()
Returns the Public Key certificate used by Nuxeo server to do RSA Signing. (Removes OpenSSL decorators).
-
getPrivateKey
String getPrivateKey()
Returns the Private Key used by Nuxeo server to do RSA Signing.
-
getBarePrivateKey
String getBarePrivateKey()
Returns the Private Key used by Nuxeo server to do RSA Signing. (Removes OpenSSL decorators).
-
getKeyName
String getKeyName()
Returns key name (not really used).
-
getInternalKey
String getInternalKey()
Returns the consumerKey used in Shindig => Nuxeo sign fetch.
-
getInternalSecret
String getInternalSecret()
Returns the consumerSecret (HMAC) used in Shindig => Nuxeo sign fetch.
-
getInternalConsumer
NuxeoOAuthConsumer getInternalConsumer()
Returns theNuxeoOAuthConsumerrepresenting local (embedded) Shindig instance.
-
-