|
Message Security Layer (MSL) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netflix.msl.entityauth.EntityAuthenticationFactory
public abstract class EntityAuthenticationFactory
A entity authentication factory creates authentication data instances and authenticators for a specific entity authentication scheme.
| Constructor Summary | |
|---|---|
protected |
EntityAuthenticationFactory(EntityAuthenticationScheme scheme)
Create a new entity authentication factory for the specified scheme. |
| Method Summary | |
|---|---|
abstract EntityAuthenticationData |
createData(MslContext ctx,
JSONObject entityAuthJO)
Construct a new entity authentication data instance from the provided JSON. |
abstract ICryptoContext |
getCryptoContext(MslContext ctx,
EntityAuthenticationData authdata)
Create a crypto context that can be used to encrypt/decrypt and authenticate data from the entity. |
EntityAuthenticationScheme |
getScheme()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EntityAuthenticationFactory(EntityAuthenticationScheme scheme)
scheme - the entity authentication scheme.| Method Detail |
|---|
public EntityAuthenticationScheme getScheme()
public abstract EntityAuthenticationData createData(MslContext ctx,
JSONObject entityAuthJO)
throws MslEncodingException,
MslCryptoException,
MslEntityAuthException
ctx - MSL context.entityAuthJO - the JSON object.
MslEncodingException - if there is an error parsing the JSON.
MslCryptoException - if there is an error with the entity
authentication data cryptography.
MslEntityAuthException - if there is an error creating the entity
authentication data.
public abstract ICryptoContext getCryptoContext(MslContext ctx,
EntityAuthenticationData authdata)
throws MslCryptoException,
MslEntityAuthException
ctx - MSL context.authdata - the authentication data.
MslCryptoException - if there is an error instantiating the crypto
context.
MslEntityAuthException - if there is an error with the entity
authentication data.
|
Message Security Layer (MSL) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||