Message Security Layer (MSL)
A C D E F G H I J K M N O P R S T U V W X

A

acceptNonReplayableId(MslContext, MasterToken, long) - Method in interface com.netflix.msl.tokens.TokenFactory
Return true if the non-replayable ID is larger by no more than 65536 than the largest non-replayable ID accepted so far for the provided master token.
addMasterBoundPeerServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new master token bound peer service token to the message, replacing any existing peer service token with the same name.
addMasterBoundPrimaryServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new master token bound primary service token to the message, replacing any existing primary service token with the same name.
addPeerServiceToken(ServiceToken) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a peer service token to the message, replacing any existing peer service token with the same name.
addPrimaryServiceToken(ServiceToken) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a primary service token to the message, replacing any existing primary service token with the same name.
addServiceTokens(Set<ServiceToken>) - Method in interface com.netflix.msl.util.MslStore
Add a set of service tokens to the store.
addUnboundPeerServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new unbound peer service token to the message, replacing any existing peer service token with the same name.
addUnboundPrimaryServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new unbound primary service token to the message, replacing any existing primary service token with the same name.
addUserBoundPeerServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new user ID token bound peer service token to the message, replacing any peer existing service token with the same name.
addUserBoundPrimaryServiceToken(String, byte[], boolean, MslConstants.CompressionAlgorithm) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Adds a new user ID token bound primary service token to the message, replacing any existing primary service token with the same name.
addUserIdToken(String, UserIdToken) - Method in interface com.netflix.msl.util.MslStore
Add a user ID token to the store, replacing any existing user ID token of the same user.
ASYMMETRIC_WRAPPED - Static variable in class com.netflix.msl.keyx.KeyExchangeScheme
Asymmetric key wrapped.
authenticate(MslContext, String, UserAuthenticationData, UserIdToken) - Method in class com.netflix.msl.userauth.UserAuthenticationFactory
Authenticate the user using the provided authentication data.
available() - Method in class com.netflix.msl.msg.MessageInputStream
 

C

cancelled(Throwable) - Static method in class com.netflix.msl.msg.MslControl
Returns true if the current thread has been interrupted as indicated by the Thread#isInterrupted() method or the type of caught throwable.
capabilities - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
CIPHERTEXT_BAD_PADDING - Static variable in class com.netflix.msl.MslError
 
CIPHERTEXT_ENVELOPE_ENCODE_ERROR - Static variable in class com.netflix.msl.MslError
 
CIPHERTEXT_ENVELOPE_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
CIPHERTEXT_ILLEGAL_BLOCK_SIZE - Static variable in class com.netflix.msl.MslError
 
clearCryptoContexts() - Method in interface com.netflix.msl.util.MslStore
Removes all master tokens and crypto contexts and bound user ID tokens and their bound service tokens.
clearServiceTokens() - Method in interface com.netflix.msl.util.MslStore
Removes all service tokens.
clearUserIdTokens() - Method in interface com.netflix.msl.util.MslStore
Removes all user ID tokens and user ID token bound service tokens.
close() - Method in class com.netflix.msl.msg.MessageInputStream
 
closeSource(boolean) - Method in class com.netflix.msl.msg.MessageInputStream
By default the source input stream is not closed when this message input stream is closed.
com.netflix.msl - package com.netflix.msl
Constants and exceptions.
com.netflix.msl.crypto - package com.netflix.msl.crypto
Cryptographic operations and related classes.
com.netflix.msl.entityauth - package com.netflix.msl.entityauth
Entity authentication.
com.netflix.msl.keyx - package com.netflix.msl.keyx
Key exchange.
com.netflix.msl.msg - package com.netflix.msl.msg
Messaging classes, including the MSL stack interface MslControl.
com.netflix.msl.tokens - package com.netflix.msl.tokens
The master token, user ID token, service token, and related classes.
com.netflix.msl.userauth - package com.netflix.msl.userauth
User authentication.
com.netflix.msl.util - package com.netflix.msl.util
Auxiliary classes including the application configuration MslContext and data store MslStore.
COMPRESSION_ERROR - Static variable in class com.netflix.msl.MslError
 
create(MslContext, JSONObject) - Static method in class com.netflix.msl.entityauth.EntityAuthenticationData
Construct a new entity authentication data instance of the correct type from the provided JSON object.
create(MslContext, JSONObject) - Static method in class com.netflix.msl.keyx.KeyRequestData
Construct a new key request data instance of the correct type from the provided JSON object.
create(MslContext, JSONObject) - Static method in class com.netflix.msl.keyx.KeyResponseData
Construct a new key response data instance of the correct type from the provided JSON object.
create(MslContext, MasterToken, JSONObject) - Static method in class com.netflix.msl.userauth.UserAuthenticationData
Construct a new user authentication data instance of the correct type from the provided JSON object.
createData(MslContext, JSONObject) - Method in class com.netflix.msl.entityauth.EntityAuthenticationFactory
Construct a new entity authentication data instance from the provided JSON.
createData(MslContext, MasterToken, JSONObject) - Method in class com.netflix.msl.userauth.UserAuthenticationFactory
Construct a new user authentication data instance from the provided JSON.
createMasterToken(MslContext, String, SecretKey, SecretKey) - Method in interface com.netflix.msl.tokens.TokenFactory
Create a new master token with the specified identity and session keys.
createUser(MslContext, String) - Method in interface com.netflix.msl.tokens.TokenFactory
Create a new MSL user instance from the serialized user data.
createUserIdToken(MslContext, MslUser, MasterToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Create a new user ID token bound to the provided master token.
cryptoContext - Variable in class com.netflix.msl.keyx.KeyExchangeFactory.KeyExchangeData
Crypto context for the exchanged keys.

D

decrypt(byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Decrypts some data.
DECRYPT_ERROR - Static variable in class com.netflix.msl.MslError
 
DECRYPT_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 
DEFAULT_CHARSET - Static variable in class com.netflix.msl.MslConstants
RFC-4627 defines UTF-8 as the default encoding.
deletePeerServiceToken(String) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Mark a peer service token for deletion, if it exists.
deletePrimaryServiceToken(String) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Mark a primary service token for deletion, if it exists.
DERIVEKEY_ERROR - Static variable in class com.netflix.msl.MslError
 
DIFFIE_HELLMAN - Static variable in class com.netflix.msl.keyx.KeyExchangeScheme
Diffie-Hellman exchange (Netflix SHA-384 key derivation).
DIGEST_ERROR - Static variable in class com.netflix.msl.MslError
 

E

EMAIL_PASSWORD - Static variable in class com.netflix.msl.userauth.UserAuthenticationScheme
Email/password.
EMAILPASSWORD_BLANK - Static variable in class com.netflix.msl.MslError
 
EMAILPASSWORD_INCORRECT - Static variable in class com.netflix.msl.MslError
 
encrypt(byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Encrypts some data.
ENCRYPT_ERROR - Static variable in class com.netflix.msl.MslError
 
ENCRYPT_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 
encrypts() - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
ENTITY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
ENTITY_REJECTED_BY_APP - Static variable in class com.netflix.msl.MslError
 
ENTITY_REVOKED - Static variable in class com.netflix.msl.MslError
 
ENTITYAUTH_FACTORY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
EntityAuthenticationData - Class in com.netflix.msl.entityauth
The entity authentication data provides proof of entity identity.
EntityAuthenticationData(EntityAuthenticationScheme) - Constructor for class com.netflix.msl.entityauth.EntityAuthenticationData
Create a new entity authentication data object with the specified entity authentication scheme.
EntityAuthenticationFactory - Class in com.netflix.msl.entityauth
A entity authentication factory creates authentication data instances and authenticators for a specific entity authentication scheme.
EntityAuthenticationFactory(EntityAuthenticationScheme) - Constructor for class com.netflix.msl.entityauth.EntityAuthenticationFactory
Create a new entity authentication factory for the specified scheme.
EntityAuthenticationScheme - Class in com.netflix.msl.entityauth
Entity authentication schemes.
EntityAuthenticationScheme(String, boolean, boolean) - Constructor for class com.netflix.msl.entityauth.EntityAuthenticationScheme
Define an entity authentication scheme with the specified name and cryptographic properties.
ENVELOPE_HASH_MISMATCH - Static variable in class com.netflix.msl.MslError
 
ENVELOPE_KEY_ID_MISMATCH - Static variable in class com.netflix.msl.MslError
 
equals(Object) - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
equals(Object) - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
equals(Object) - Method in class com.netflix.msl.keyx.KeyExchangeScheme
 
equals(Object) - Method in class com.netflix.msl.keyx.KeyRequestData
 
equals(Object) - Method in class com.netflix.msl.keyx.KeyResponseData
 
equals(Object) - Method in class com.netflix.msl.msg.ErrorHeader
 
equals(Object) - Method in class com.netflix.msl.msg.MessageCapabilities
 
equals(Object) - Method in class com.netflix.msl.msg.MessageHeader
 
equals(Object) - Method in class com.netflix.msl.MslError
 
equals(Object) - Method in class com.netflix.msl.tokens.MasterToken
 
equals(Object) - Method in class com.netflix.msl.tokens.ServiceToken
 
equals(Object) - Method in class com.netflix.msl.tokens.UserIdToken
 
equals(Object) - Method in class com.netflix.msl.userauth.UserAuthenticationData
 
equals(Object) - Method in class com.netflix.msl.userauth.UserAuthenticationScheme
 
error(MslContext, MessageContext, MslControl.ApplicationError, OutputStream, MessageInputStream) - Method in class com.netflix.msl.msg.MslControl
Send an error response over the provided output stream.
ErrorHeader - Class in com.netflix.msl.msg
The error data is represented as errordata = { "#mandatory" : [ "messageid", "errorcode" ], "recipient" : "string", "messageid" : "int64(0,-)", "errorcode" : "int32(0,-)", "internalcode" : "int32(0,-)", "errormsg" : "string", "usermsg" : "string", } where: recipient is the intended recipient's entity identity messageid is the message ID errorcode is the error code internalcode is an service-specific error code errormsg is a developer-consumable error message usermsg is a user-consumable localized error message
ErrorHeader(MslContext, EntityAuthenticationData, String, long, MslConstants.ResponseCode, int, String, String) - Constructor for class com.netflix.msl.msg.ErrorHeader
Construct a new error header with the provided error data.
ErrorHeader(MslContext, String, EntityAuthenticationData, byte[]) - Constructor for class com.netflix.msl.msg.ErrorHeader
Construct a new error header from the provided JSON object.
ErrorMessageRegistry - Interface in com.netflix.msl.msg
The error message registry is used to provide localized user-consumable messages for specific MSL errors.
excludePeerServiceToken(String) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Exclude a peer service token from the message.
excludePrimaryServiceToken(String) - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Exclude a primary service token from the message.

F

FilterStreamFactory - Interface in com.netflix.msl.msg
A filter stream factory provides filter input stream and filter output stream instances.
finalize() - Method in class com.netflix.msl.msg.MessageInputStream
 
finalize() - Method in class com.netflix.msl.msg.MslControl
 
fromString(String) - Static method in enum com.netflix.msl.MslConstants.CipherSpec
 
fromString(String) - Static method in enum com.netflix.msl.MslConstants.SignatureAlgo
 

G

GENERATEKEY_ERROR - Static variable in class com.netflix.msl.MslError
 
generateResponse(MslContext, KeyRequestData, MasterToken) - Method in class com.netflix.msl.keyx.KeyExchangeFactory
Generate a new key response data instance and crypto context in response to the provided key request data.
generateResponse(MslContext, KeyRequestData, String) - Method in class com.netflix.msl.keyx.KeyExchangeFactory
Generate a new key response data instance and crypto context in response to the provided key request data and entity identity.
getAuthData() - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
getAuthData() - Method in class com.netflix.msl.userauth.UserAuthenticationData
Returns the scheme-specific user authentication data.
getCompressionAlgo() - Method in class com.netflix.msl.tokens.ServiceToken
 
getCompressionAlgorithms() - Method in class com.netflix.msl.msg.MessageCapabilities
 
getCryptoContext(MslContext, EntityAuthenticationData) - Method in class com.netflix.msl.entityauth.EntityAuthenticationFactory
Create a crypto context that can be used to encrypt/decrypt and authenticate data from the entity.
getCryptoContext(MslContext, KeyRequestData, KeyResponseData, MasterToken) - Method in class com.netflix.msl.keyx.KeyExchangeFactory
Create a crypto context from the provided key request data and key response data.
getCryptoContext() - Method in class com.netflix.msl.msg.MessageHeader
Returns the crypto context that was used to process the header data.
getCryptoContext(MasterToken) - Method in interface com.netflix.msl.util.MslStore
Return the crypto context associated with the provided master token.
getCryptoContexts() - Method in interface com.netflix.msl.msg.MessageContext
Called when receiving a message to process service tokens.
getData() - Method in class com.netflix.msl.tokens.ServiceToken
Returns the service data if the token data was not encrypted or we were able to decrypt it.
getDebugContext() - Method in interface com.netflix.msl.msg.MessageContext
Returns a message debug context applicable to the message being sent or received.
getEncryptionKey() - Method in class com.netflix.msl.tokens.MasterToken
 
getEntityAuthenticationData() - Method in class com.netflix.msl.msg.ErrorHeader
Returns the entity authentication data.
getEntityAuthenticationData() - Method in class com.netflix.msl.msg.MessageHeader
Returns the entity authentication data.
getEntityAuthenticationData() - Method in exception com.netflix.msl.MslException
Returns the entity authentication data of the entity associated with the exception.
getEntityAuthenticationData(MslContext.ReauthCode) - Method in interface com.netflix.msl.util.MslContext
Returns the entity authentication data for this entity.
getEntityAuthenticationFactory(EntityAuthenticationScheme) - Method in interface com.netflix.msl.util.MslContext
Returns the entity authentication factory for the specified scheme.
getError() - Method in exception com.netflix.msl.MslException
 
getErrorCode() - Method in class com.netflix.msl.msg.ErrorHeader
Returns the error code.
getErrorHeader() - Method in class com.netflix.msl.msg.MessageInputStream
 
getErrorMessage() - Method in class com.netflix.msl.msg.ErrorHeader
 
getExpiration() - Method in class com.netflix.msl.tokens.MasterToken
 
getExpiration() - Method in class com.netflix.msl.tokens.UserIdToken
 
getHmacKey() - Method in class com.netflix.msl.tokens.MasterToken
 
getIdentity() - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
getIdentity() - Method in class com.netflix.msl.msg.MessageInputStream
Returns the sender's entity identity.
getIdentity() - Method in class com.netflix.msl.tokens.MasterToken
Returns the identifier of the authenticated peer.
getInputStream(InputStream) - Method in interface com.netflix.msl.msg.FilterStreamFactory
Return a new input stream that has the provided input stream as its backing source.
getInternalCode() - Method in class com.netflix.msl.msg.ErrorHeader
 
getInternalCode() - Method in class com.netflix.msl.MslError
 
getIssuerData() - Method in class com.netflix.msl.tokens.MasterToken
Returns the issuer data.
getIssuerData() - Method in class com.netflix.msl.tokens.UserIdToken
 
getKeydata() - Method in class com.netflix.msl.keyx.KeyRequestData
 
getKeydata() - Method in class com.netflix.msl.keyx.KeyResponseData
 
getKeyExchangeCryptoContext() - Method in class com.netflix.msl.msg.MessageInputStream
 
getKeyExchangeFactories() - Method in interface com.netflix.msl.util.MslContext
Returns the supported key exchange factories in order of preferred use.
getKeyExchangeFactory(KeyExchangeScheme) - Method in interface com.netflix.msl.util.MslContext
Returns the key exchange factory for the specified scheme.
getKeyExchangeScheme() - Method in class com.netflix.msl.keyx.KeyRequestData
 
getKeyExchangeScheme() - Method in class com.netflix.msl.keyx.KeyResponseData
 
getKeyRequestData() - Method in interface com.netflix.msl.msg.MessageContext
Called if a request is eligible for key exchange (i.e.
getKeyRequestData() - Method in class com.netflix.msl.msg.MessageHeader
 
getKeyResponseData() - Method in class com.netflix.msl.msg.MessageHeader
 
getLanguages() - Method in class com.netflix.msl.msg.MessageCapabilities
 
getMasterToken() - Method in class com.netflix.msl.keyx.KeyResponseData
 
getMasterToken() - Method in class com.netflix.msl.msg.MessageHeader
Returns the primary master token identifying the entity and containing the session keys.
getMasterToken() - Method in exception com.netflix.msl.MslException
Returns the master token of the entity associated with the exception.
getMasterToken() - Method in interface com.netflix.msl.util.MslStore
Return the newest saved master token in this store.
getMasterTokenSerialNumber() - Method in class com.netflix.msl.tokens.ServiceToken
Returns the serial number of the master token this service token is bound to.
getMasterTokenSerialNumber() - Method in class com.netflix.msl.tokens.UserIdToken
Return the serial number of the master token this user ID token is bound to.
getMessage() - Method in class com.netflix.msl.MslError
 
getMessageCapabilities() - Method in class com.netflix.msl.msg.MessageHeader
 
getMessageCapabilities() - Method in interface com.netflix.msl.util.MslContext
Returns the message capabilities for this entity.
getMessageHeader() - Method in class com.netflix.msl.msg.MessageInputStream
 
getMessageId() - Method in class com.netflix.msl.msg.ErrorHeader
 
getMessageId() - Method in class com.netflix.msl.msg.MessageHeader
 
getMessageId() - Method in exception com.netflix.msl.MslException
Returns the message ID of the message associated with the exception.
getMslCryptoContext() - Method in interface com.netflix.msl.util.MslContext
Returns the primary crypto context used for MSL-level crypto operations.
getMslStore() - Method in interface com.netflix.msl.util.MslContext
Returns the MSL store specific to this MSL context.
getName() - Method in class com.netflix.msl.tokens.ServiceToken
 
getNonReplayableId() - Method in class com.netflix.msl.msg.MessageHeader
 
getNonReplayableId(MasterToken) - Method in interface com.netflix.msl.util.MslStore
Return the next non-replayable ID of the provided master token.
getOutputStream(OutputStream) - Method in interface com.netflix.msl.msg.FilterStreamFactory
Return a new output stream that has the provided output stream as its backing destination.
getPayloadCryptoContext() - Method in class com.netflix.msl.msg.MessageInputStream
 
getPeerMasterToken() - Method in class com.netflix.msl.msg.MessageHeader
Returns the master token that should be used by an entity responding to this message.
getPeerServiceTokens() - Method in class com.netflix.msl.msg.MessageHeader
Returns the service tokens that must be used by an entity responding to this message.
getPeerServiceTokens() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
 
getPeerUserIdToken() - Method in class com.netflix.msl.msg.MessageHeader
Returns the user ID token that must be used by an entity responding to this message if an peer master token is provided.
getPreferredAlgorithm(Set<MslConstants.CompressionAlgorithm>) - Static method in enum com.netflix.msl.MslConstants.CompressionAlgorithm
Returns the most preferred compression algorithm from the provided set of algorithms.
getPrimaryServiceTokens() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
 
getRandom() - Method in interface com.netflix.msl.util.MslContext
Returns a random number generator.
getRecipient() - Method in class com.netflix.msl.msg.ErrorHeader
 
getRecipient() - Method in interface com.netflix.msl.msg.MessageContext
Called to identify the entity identity the message application data is intended for.
getRecipient() - Method in class com.netflix.msl.msg.MessageHeader
 
getRenewalWindow() - Method in class com.netflix.msl.tokens.MasterToken
 
getRenewalWindow() - Method in class com.netflix.msl.tokens.UserIdToken
 
getRequestCause() - Method in exception com.netflix.msl.MslErrorResponseException
 
getResponseCode() - Method in class com.netflix.msl.MslError
 
getScheme() - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
getScheme() - Method in class com.netflix.msl.entityauth.EntityAuthenticationFactory
 
getScheme(String) - Static method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
getScheme() - Method in class com.netflix.msl.keyx.KeyExchangeFactory
 
getScheme(String) - Static method in class com.netflix.msl.keyx.KeyExchangeScheme
 
getScheme() - Method in class com.netflix.msl.userauth.UserAuthenticationData
 
getScheme() - Method in class com.netflix.msl.userauth.UserAuthenticationFactory
 
getScheme(String) - Static method in class com.netflix.msl.userauth.UserAuthenticationScheme
 
getSender() - Method in class com.netflix.msl.msg.MessageHeader
 
getSequenceNumber() - Method in class com.netflix.msl.tokens.MasterToken
 
getSerialNumber() - Method in class com.netflix.msl.tokens.MasterToken
 
getSerialNumber() - Method in class com.netflix.msl.tokens.UserIdToken
 
getServiceTokens() - Method in class com.netflix.msl.msg.MessageHeader
Returns the primary service tokens included in this message.
getServiceTokens(MasterToken, UserIdToken) - Method in interface com.netflix.msl.util.MslStore
Return the set of service tokens that are applicable to the provided pair of master token and user ID token.
getTime() - Method in interface com.netflix.msl.util.MslContext
Returns the local entity time.
getTokenFactory() - Method in interface com.netflix.msl.util.MslContext
Returns the token factory.
getUser() - Method in interface com.netflix.msl.msg.MessageContext
Called if a message does not contain a user ID token for the remote user.
getUser() - Method in class com.netflix.msl.msg.MessageHeader
Returns the user if the user has been authenticated or a user ID token was provided.
getUser() - Method in class com.netflix.msl.msg.MessageInputStream
Returns the user associated with the message.
getUser() - Method in class com.netflix.msl.tokens.UserIdToken
 
getUserAuthData(MessageContext.ReauthCode, boolean, boolean) - Method in interface com.netflix.msl.msg.MessageContext
Called if the user ID is not null to attach user authentication data to messages.
getUserAuthenticationData() - Method in class com.netflix.msl.msg.MessageHeader
Returns the user authentication data.
getUserAuthenticationData() - Method in exception com.netflix.msl.MslException
Returns the user authentication data of the user associated with the exception.
getUserAuthenticationFactory(UserAuthenticationScheme) - Method in interface com.netflix.msl.util.MslContext
Returns the user authentication factory for the specified scheme.
getUserId() - Method in interface com.netflix.msl.msg.MessageContext
Called to identify the local user the message should be sent with.
getUserIdToken() - Method in class com.netflix.msl.msg.MessageHeader
Returns the primary user ID token identifying the user.
getUserIdToken() - Method in exception com.netflix.msl.MslException
Returns the user ID token of the user associated with the exception.
getUserIdToken(String) - Method in interface com.netflix.msl.util.MslStore
Returns the user ID token, if any, for the specified local user ID.
getUserIdTokenSerialNumber() - Method in class com.netflix.msl.tokens.ServiceToken
Returns the serial number of the user ID token this service token is bound to.
getUserMessage() - Method in class com.netflix.msl.msg.ErrorHeader
 
getUserMessage(MslError, List<String>) - Method in interface com.netflix.msl.msg.ErrorMessageRegistry
Returns the user-consumable message associated with the given MSL error, localized according to the list of preferred languages.
getUserMessage(Throwable, List<String>) - Method in interface com.netflix.msl.msg.ErrorMessageRegistry
Returns the user-consumable message associated with a given non-MSL error, localized according to the list of preferred languages.

H

handshake - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
HANDSHAKE_DATA_MISSING - Static variable in class com.netflix.msl.MslError
 
hashCode() - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
hashCode() - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
hashCode() - Method in class com.netflix.msl.keyx.KeyExchangeScheme
 
hashCode() - Method in class com.netflix.msl.keyx.KeyRequestData
 
hashCode() - Method in class com.netflix.msl.keyx.KeyResponseData
 
hashCode() - Method in class com.netflix.msl.msg.ErrorHeader
 
hashCode() - Method in class com.netflix.msl.msg.MessageCapabilities
 
hashCode() - Method in class com.netflix.msl.msg.MessageHeader
 
hashCode() - Method in class com.netflix.msl.MslError
 
hashCode() - Method in class com.netflix.msl.tokens.MasterToken
 
hashCode() - Method in class com.netflix.msl.tokens.ServiceToken
 
hashCode() - Method in class com.netflix.msl.tokens.UserIdToken
 
hashCode() - Method in class com.netflix.msl.userauth.UserAuthenticationData
 
hashCode() - Method in class com.netflix.msl.userauth.UserAuthenticationScheme
 
Header - Class in com.netflix.msl.msg
A MSL header contains entity authentication data or a master token identifying the message sender and data used to authenticate the header data.
Header() - Constructor for class com.netflix.msl.msg.Header
 
HEADER_DATA_INVALID - Static variable in class com.netflix.msl.MslError
 
HEADER_DATA_MISSING - Static variable in class com.netflix.msl.MslError
 
HEADER_SIGNATURE_INVALID - Static variable in class com.netflix.msl.MslError
 
HMAC_ERROR - Static variable in class com.netflix.msl.MslError
 

I

ICryptoContext - Interface in com.netflix.msl.crypto
A generic cryptographic context suitable for encryption/decryption, wrap/unwrap, and sign/verify operations.
INCOMPLETE_NONREPLAYABLE_MESSAGE - Static variable in class com.netflix.msl.MslError
 
INCORRECT_ENTITYAUTH_DATA - Static variable in class com.netflix.msl.MslError
 
input - Variable in class com.netflix.msl.msg.MslControl.MslChannel
Message input stream to read from the remote entity.
INSUFFICIENT_CIPHERTEXT - Static variable in class com.netflix.msl.MslError
 
INTERNAL_CODE_NEGATIVE - Static variable in class com.netflix.msl.MslError
 
INTERNAL_EXCEPTION - Static variable in class com.netflix.msl.MslError
 
intersection(MessageCapabilities, MessageCapabilities) - Static method in class com.netflix.msl.msg.MessageCapabilities
Computes and returns the intersection of two message capabilities.
intValue() - Method in enum com.netflix.msl.msg.MessageContext.ReauthCode
 
intValue() - Method in enum com.netflix.msl.MslConstants.ResponseCode
 
intValue() - Method in enum com.netflix.msl.util.MslContext.ReauthCode
 
INVALID_ALGORITHM_PARAMS - Static variable in class com.netflix.msl.MslError
 
INVALID_CIPHERTEXT - Static variable in class com.netflix.msl.MslError
 
INVALID_ENCRYPTION_KEY - Static variable in class com.netflix.msl.MslError
 
INVALID_HMAC_KEY - Static variable in class com.netflix.msl.MslError
 
INVALID_IV - Static variable in class com.netflix.msl.MslError
 
INVALID_JWK - Static variable in class com.netflix.msl.MslError
 
INVALID_JWK_KEYDATA - Static variable in class com.netflix.msl.MslError
 
INVALID_PRIVATE_KEY - Static variable in class com.netflix.msl.MslError
 
INVALID_PUBLIC_KEY - Static variable in class com.netflix.msl.MslError
 
INVALID_SIGNATURE - Static variable in class com.netflix.msl.MslError
 
INVALID_SYMMETRIC_KEY - Static variable in class com.netflix.msl.MslError
 
INVALID_WRAP_CIPHERTEXT - Static variable in class com.netflix.msl.MslError
 
INVALID_WRAPPING_KEY - Static variable in class com.netflix.msl.MslError
 
isBoundTo(MasterToken) - Method in class com.netflix.msl.tokens.ServiceToken
 
isBoundTo(UserIdToken) - Method in class com.netflix.msl.tokens.ServiceToken
 
isBoundTo(MasterToken) - Method in class com.netflix.msl.tokens.UserIdToken
 
isDecrypted() - Method in class com.netflix.msl.tokens.MasterToken
 
isDecrypted() - Method in class com.netflix.msl.tokens.ServiceToken
 
isDecrypted() - Method in class com.netflix.msl.tokens.UserIdToken
 
isDeleted() - Method in class com.netflix.msl.tokens.ServiceToken
 
isEncrypted() - Method in interface com.netflix.msl.msg.MessageContext
Called to determine if the message application data must be encrypted.
isEncrypted() - Method in class com.netflix.msl.tokens.ServiceToken
 
isEncrypting() - Method in class com.netflix.msl.msg.MessageHeader
 
isExpired() - Method in class com.netflix.msl.tokens.MasterToken
 
isExpired() - Method in class com.netflix.msl.tokens.UserIdToken
 
isHandshake() - Method in class com.netflix.msl.msg.MessageHeader
 
isHandshake() - Method in class com.netflix.msl.msg.MessageInputStream
Returns true if the message is a handshake message.
isIntegrityProtected() - Method in interface com.netflix.msl.msg.MessageContext
Called to determine if the message application data must be integrity protected.
isMasterTokenBound() - Method in class com.netflix.msl.tokens.ServiceToken
 
isMasterTokenRenewable(MslContext, MasterToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Check if the master token would be renewed by a call to TokenFactory.renewMasterToken(MslContext, MasterToken, SecretKey, SecretKey).
isMasterTokenRevoked(MslContext, MasterToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Return false if the master token has been revoked.
isNewerThan(MasterToken) - Method in class com.netflix.msl.tokens.MasterToken
A master token is considered newer if its sequence number is greater than another master token.
isNewestMasterToken(MslContext, MasterToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Check if the master token sequence number is up-to-date.
isNonReplayable() - Method in interface com.netflix.msl.msg.MessageContext
Called to determine if a message should be marked as non-replayable.
isNonReplayable() - Method in class com.netflix.msl.msg.MessageHeader
 
isPeerMasterTokenAvailable() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
 
isPeerToPeer() - Method in interface com.netflix.msl.util.MslContext
Returns true if the context is operating in a peer-to-peer network.
isPeerUserIdTokenAvailable() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
 
isPrimaryMasterTokenAvailable() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
Returns true if the message has a primary master token available for adding master-bound primary service tokens.
isPrimaryUserIdTokenAvailable() - Method in class com.netflix.msl.msg.MessageServiceTokenBuilder
 
isRenewable() - Method in class com.netflix.msl.msg.MessageHeader
 
isRenewable() - Method in class com.netflix.msl.tokens.MasterToken
 
isRenewable() - Method in class com.netflix.msl.tokens.UserIdToken
 
isRequestingTokens() - Method in interface com.netflix.msl.msg.MessageContext
Called to determine if a message is requesting a master token, user ID token, or service tokens.
isUnbound() - Method in class com.netflix.msl.tokens.ServiceToken
 
isUserIdTokenBound() - Method in class com.netflix.msl.tokens.ServiceToken
Returns true if this token is bound to a user ID token.
isUserIdTokenRevoked(MslContext, MasterToken, UserIdToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Return false if the user ID token has been revoked.
isVerified() - Method in class com.netflix.msl.tokens.MasterToken
 
isVerified() - Method in class com.netflix.msl.tokens.ServiceToken
 
isVerified() - Method in class com.netflix.msl.tokens.UserIdToken
 

J

JSON_ENCODE_ERROR - Static variable in class com.netflix.msl.MslError
 
JSON_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
JWE_ALGORITHM_MISMATCH - Static variable in class com.netflix.msl.MslError
 
JWE_ENCODE_ERROR - Static variable in class com.netflix.msl.MslError
 
JWE_LADDER - Static variable in class com.netflix.msl.keyx.KeyExchangeScheme
JSON web encryption ladder exchange.
JWE_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
JWK_LADDER - Static variable in class com.netflix.msl.keyx.KeyExchangeScheme
JSON web key ladder exchange.

K

KEY_ENTITY_AUTHENTICATION_DATA - Static variable in class com.netflix.msl.msg.Header
JSON key entity authentication data.
KEY_ERRORDATA - Static variable in class com.netflix.msl.msg.Header
JSON key error data.
KEY_EXPORT_ERROR - Static variable in class com.netflix.msl.MslError
 
KEY_HEADERDATA - Static variable in class com.netflix.msl.msg.Header
JSON key header data.
KEY_IMPORT_ERROR - Static variable in class com.netflix.msl.MslError
 
KEY_MASTER_TOKEN - Static variable in class com.netflix.msl.msg.Header
JSON key master token.
KEY_SIGNATURE - Static variable in class com.netflix.msl.msg.Header
JSON key error data signature.
KeyExchangeFactory - Class in com.netflix.msl.keyx
A key exchange factory creates key request and response data instances for a specific key exchange scheme.
KeyExchangeFactory(KeyExchangeScheme) - Constructor for class com.netflix.msl.keyx.KeyExchangeFactory
Create a new key exchange factory for the specified scheme.
KeyExchangeFactory.KeyExchangeData - Class in com.netflix.msl.keyx
The key exchange data struct contains key response data and a crypto context for the exchanged keys.
KeyExchangeFactory.KeyExchangeData(KeyResponseData, ICryptoContext) - Constructor for class com.netflix.msl.keyx.KeyExchangeFactory.KeyExchangeData
Create a new key key exhange data struct with the provided key response data, master token, and crypto context.
KeyExchangeScheme - Class in com.netflix.msl.keyx
Key exchange schemes.
KeyExchangeScheme(String) - Constructor for class com.netflix.msl.keyx.KeyExchangeScheme
Define a key exchange scheme with the specified name.
KeyRequestData - Class in com.netflix.msl.keyx
Key request data contains all the data needed to facilitate a exchange of session keys with the requesting entity.
KeyRequestData(KeyExchangeScheme) - Constructor for class com.netflix.msl.keyx.KeyRequestData
Create a new key request data object with the specified key exchange scheme.
keyRequestData - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
keyResponseData - Variable in class com.netflix.msl.keyx.KeyExchangeFactory.KeyExchangeData
Key response data.
KeyResponseData - Class in com.netflix.msl.keyx
Key response data contains all the data needed to facilitate a exchange of session keys from the responseor.
KeyResponseData(MasterToken, KeyExchangeScheme) - Constructor for class com.netflix.msl.keyx.KeyResponseData
Create a new key response data object with the specified key exchange scheme and associated master token.
keyResponseData - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
KEYX_DERIVATION_KEY_MISSING - Static variable in class com.netflix.msl.MslError
 
KEYX_FACTORY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
KEYX_INCORRECT_DATA - Static variable in class com.netflix.msl.MslError
 
KEYX_INCORRECT_MECHANISM - Static variable in class com.netflix.msl.MslError
 
KEYX_INVALID_ENCRYPTION_KEY - Static variable in class com.netflix.msl.MslError
 
KEYX_INVALID_HMAC_KEY - Static variable in class com.netflix.msl.MslError
 
KEYX_INVALID_PUBLIC_KEY - Static variable in class com.netflix.msl.MslError
 
KEYX_INVALID_WRAPDATA - Static variable in class com.netflix.msl.MslError
 
KEYX_INVALID_WRAPPING_KEY - Static variable in class com.netflix.msl.MslError
 
KEYX_MASTER_TOKEN_MISSING - Static variable in class com.netflix.msl.MslError
 
KEYX_PRIVATE_KEY_MISSING - Static variable in class com.netflix.msl.MslError
 
KEYX_PUBLIC_KEY_MISSING - Static variable in class com.netflix.msl.MslError
 
KEYX_REQUEST_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
KEYX_RESPONSE_REQUEST_MISMATCH - Static variable in class com.netflix.msl.MslError
 
KEYX_WRAPPING_KEY_ID_MISSING - Static variable in class com.netflix.msl.MslError
 
KEYX_WRAPPING_KEY_MISSING - Static variable in class com.netflix.msl.MslError
 

M

mark(int) - Method in class com.netflix.msl.msg.MessageInputStream
 
markSupported() - Method in class com.netflix.msl.msg.MessageInputStream
 
MasterToken - Class in com.netflix.msl.tokens
The master token provides proof of remote entity identity.
MasterToken(MslContext, Date, Date, long, long, JSONObject, String, SecretKey, SecretKey) - Constructor for class com.netflix.msl.tokens.MasterToken
Create a new master token with the specified expiration, identity, serial number, and encryption and HMAC keys.
MasterToken(MslContext, JSONObject) - Constructor for class com.netflix.msl.tokens.MasterToken
Create a new master token from the provided JSON.
MASTERTOKEN_EXPIRES_BEFORE_RENEWAL - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_IDENTITY_REVOKED - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_KEY_CREATION_ERROR - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_REJECTED_BY_APP - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_SYNC - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SESSIONDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SESSIONDATA_MISSING - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SESSIONDATA_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_SIGNATURE_INVALID - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_TOKENDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_TOKENDATA_MISSING - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_TOKENDATA_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
MASTERTOKEN_UNTRUSTED - Static variable in class com.netflix.msl.MslError
 
MAX_LONG_VALUE - Static variable in class com.netflix.msl.MslConstants
Maximum long integer value (2^53 limited by JavaScript).
MESSAGE_DATA_MISSING - Static variable in class com.netflix.msl.MslError
 
MESSAGE_ENTITY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
MESSAGE_ENTITYDATABASED_VERIFICATION_FAILED - Static variable in class com.netflix.msl.MslError
 
MESSAGE_EXPIRED - Static variable in class com.netflix.msl.MslError
 
MESSAGE_FORMAT_ERROR - Static variable in class com.netflix.msl.MslError
 
MESSAGE_ID_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
MESSAGE_MASTERTOKENBASED_VERIFICATION_FAILED - Static variable in class com.netflix.msl.MslError
 
MESSAGE_PEER_SERVICETOKEN_MISMATCH - Static variable in class com.netflix.msl.MslError
 
MESSAGE_RECIPIENT_MISMATCH - Static variable in class com.netflix.msl.MslError
 
MESSAGE_REPLAYED - Static variable in class com.netflix.msl.MslError
 
MESSAGE_SERVICETOKEN_MISMATCH - Static variable in class com.netflix.msl.MslError
 
MESSAGE_VERIFICATION_FAILED - Static variable in class com.netflix.msl.MslError
 
MessageCapabilities - Class in com.netflix.msl.msg
The message capabilities identify the features supported by the message sender.
MessageCapabilities(Set<MslConstants.CompressionAlgorithm>, List<String>) - Constructor for class com.netflix.msl.msg.MessageCapabilities
Create a new message capabilities object with the specified supported features.
MessageCapabilities(JSONObject) - Constructor for class com.netflix.msl.msg.MessageCapabilities
Construct a new message capabilities object from the provided JSON object.
MessageContext - Interface in com.netflix.msl.msg
The message context provides the information that should be used to construct a single message.
MessageContext.ReauthCode - Enum in com.netflix.msl.msg
Re-authentication reason codes.
MessageDebugContext - Interface in com.netflix.msl.msg
A message debug context is used to provide debugging callbacks to MslControl.
MessageHeader - Class in com.netflix.msl.msg
If a master token exists, the header data chunks will be encrypted and verified using the master token.
MessageHeader(MslContext, EntityAuthenticationData, MasterToken, MessageHeader.HeaderData, MessageHeader.HeaderPeerData) - Constructor for class com.netflix.msl.msg.MessageHeader
Construct a new message header with the provided message data.
MessageHeader(MslContext, String, EntityAuthenticationData, MasterToken, byte[], Map<String, ICryptoContext>) - Constructor for class com.netflix.msl.msg.MessageHeader
Construct a new message from the provided JSON object.
MessageHeader.HeaderData - Class in com.netflix.msl.msg
Container struct for message header data.
MessageHeader.HeaderData(String, long, Long, boolean, boolean, MessageCapabilities, Set<KeyRequestData>, KeyResponseData, UserAuthenticationData, UserIdToken, Set<ServiceToken>) - Constructor for class com.netflix.msl.msg.MessageHeader.HeaderData
 
MessageHeader.HeaderPeerData - Class in com.netflix.msl.msg
Container struct for header peer data.
MessageHeader.HeaderPeerData(MasterToken, UserIdToken, Set<ServiceToken>) - Constructor for class com.netflix.msl.msg.MessageHeader.HeaderPeerData
 
messageId - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
MessageInputStream - Class in com.netflix.msl.msg
A MSL message consists of a single MSL header followed by one or more payload chunks carrying application data.
MessageInputStream(MslContext, InputStream, Charset, Set<KeyRequestData>, Map<String, ICryptoContext>) - Constructor for class com.netflix.msl.msg.MessageInputStream
Construct a new message input stream.
MessageServiceTokenBuilder - Class in com.netflix.msl.msg
A message service token builder provides methods for intelligently manipulating the primary and peer service tokens that will be included in a message.
MessageServiceTokenBuilder(MslContext, MessageContext, MessageBuilder) - Constructor for class com.netflix.msl.msg.MessageServiceTokenBuilder
Create a new message service token builder with the provided MSL and message contexts and message builder.
MSL_COMMS_FAILURE - Static variable in class com.netflix.msl.MslError
 
MslConstants - Class in com.netflix.msl
Message security layer constants.
MslConstants() - Constructor for class com.netflix.msl.MslConstants
 
MslConstants.CipherSpec - Enum in com.netflix.msl
Cipher specifications.
MslConstants.CompressionAlgorithm - Enum in com.netflix.msl
Compression algorithm.
MslConstants.ResponseCode - Enum in com.netflix.msl
Error response codes.
MslConstants.SignatureAlgo - Enum in com.netflix.msl
Signature algorithms.
MslContext - Interface in com.netflix.msl.util
The context provides access to all factories, builders, and containers that are needed by the MSL library.
MslContext.ReauthCode - Enum in com.netflix.msl.util
Re-authentication reason codes.
MslControl - Class in com.netflix.msl.msg
Message Security Layer control provides the base operational MSL logic of sending and receiving messages with an optional thread pool.
MslControl(int) - Constructor for class com.netflix.msl.msg.MslControl
Create a new instance of MSL control with the specified number of threads.
MslControl(int, ErrorMessageRegistry) - Constructor for class com.netflix.msl.msg.MslControl
Create a new instance of MSL control with the specified number of threads and user error message registry.
MslControl.ApplicationError - Enum in com.netflix.msl.msg
Application level errors that may translate into MSL level errors.
MslControl.MslChannel - Class in com.netflix.msl.msg
A MessageInputStream and MessageOutputStream pair representing a single MSL communication channel established between the local and remote entities.
MslControl.MslChannel(MessageInputStream, MessageOutputStream) - Constructor for class com.netflix.msl.msg.MslControl.MslChannel
Create a new MSL channel with the provided input and output streams.
MslCryptoException - Exception in com.netflix.msl
Thrown when a crypto exception occurs within the Message Security Layer.
MslCryptoException(MslError) - Constructor for exception com.netflix.msl.MslCryptoException
Construct a new MSL crypto exception with the specified error.
MslCryptoException(MslError, String) - Constructor for exception com.netflix.msl.MslCryptoException
Construct a new MSL crypto exception with the specified error and details.
MslCryptoException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslCryptoException
Construct a new MSL crypto exception with the specified error, details, and cause.
MslCryptoException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslCryptoException
Construct a new MSL crypto exception with the specified error and cause.
MslEncodingException - Exception in com.netflix.msl
Thrown when an encoding exception occurs within the Message Security Layer.
MslEncodingException(MslError) - Constructor for exception com.netflix.msl.MslEncodingException
Construct a new MSL encoding exception with the specified error.
MslEncodingException(MslError, String) - Constructor for exception com.netflix.msl.MslEncodingException
Construct a new MSL encoding exception with the specified error and details.
MslEncodingException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslEncodingException
Construct a new MSL encoding exception with the specified error, details, and cause.
MslEncodingException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslEncodingException
Construct a new MSL encoding exception with the specified error and cause.
MslEntityAuthException - Exception in com.netflix.msl
Thrown when an entity authentication exception occurs within the Message Security Layer.
MslEntityAuthException(MslError) - Constructor for exception com.netflix.msl.MslEntityAuthException
Construct a new MSL entity authentication exception with the specified error.
MslEntityAuthException(MslError, String) - Constructor for exception com.netflix.msl.MslEntityAuthException
Construct a new MSL entity authentication exception with the specified error and details.
MslEntityAuthException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslEntityAuthException
Construct a new MSL entity authentication exception with the specified error, details, and cause.
MslEntityAuthException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslEntityAuthException
Construct a new MSL entity authentication exception with the specified error and cause.
MslError - Class in com.netflix.msl
Message Security Layer error codes and descriptions.
MslError(int, MslConstants.ResponseCode, String) - Constructor for class com.netflix.msl.MslError
Construct a MSL error with the specified internal and response error codes and message.
MslErrorResponseException - Exception in com.netflix.msl
Thrown when an exception occurs while attempting to create and send an automatically generated error response.
MslErrorResponseException(String, Throwable, Throwable) - Constructor for exception com.netflix.msl.MslErrorResponseException
Construct a new MSL error response exception with the specified detail message, cause, and the original exception thrown by the request that prompted an automatic error response.
MslException - Exception in com.netflix.msl
Thrown when an exception occurs within the Message Security Layer.
MslException(MslError) - Constructor for exception com.netflix.msl.MslException
Construct a new MSL exception with the specified error.
MslException(MslError, String) - Constructor for exception com.netflix.msl.MslException
Construct a new MSL exception with the specified error and details.
MslException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslException
Construct a new MSL exception with the specified error, details, and cause.
MslException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslException
Construct a new MSL exception with the specified error and cause.
MslInternalException - Exception in com.netflix.msl
Thrown when an exception occurs that should not happen except due to an internal error (e.g.
MslInternalException(String, Throwable) - Constructor for exception com.netflix.msl.MslInternalException
Construct a new MSL internal exception with the specified detail message and cause.
MslInternalException(String) - Constructor for exception com.netflix.msl.MslInternalException
Construct a new MSL internal exception with the specified detail message.
MslKeyExchangeException - Exception in com.netflix.msl
Thrown when a key exchange exception occurs within the Message Security Layer.
MslKeyExchangeException(MslError) - Constructor for exception com.netflix.msl.MslKeyExchangeException
Construct a new MSL key exchange exception with the specified error.
MslKeyExchangeException(MslError, String) - Constructor for exception com.netflix.msl.MslKeyExchangeException
Construct a new MSL key exchange exception with the specified error and details.
MslKeyExchangeException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslKeyExchangeException
Construct a new MSL key exchange exception with the specified error, details, and cause.
MslKeyExchangeException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslKeyExchangeException
Construct a new MSL key exchange exception with the specified error and cause.
MslMasterTokenException - Exception in com.netflix.msl
Thrown when there is a problem with a master token, but the token was successfully parsed.
MslMasterTokenException(MslError, MasterToken) - Constructor for exception com.netflix.msl.MslMasterTokenException
Construct a new MSL master token exception with the specified error and master token.
MslMasterTokenException(MslError, MasterToken, Throwable) - Constructor for exception com.netflix.msl.MslMasterTokenException
Construct a new MSL master token exception with the specified error and master token.
MslMessageException - Exception in com.netflix.msl
Thrown when a message exception occurs within the Message Security Layer.
MslMessageException(MslError) - Constructor for exception com.netflix.msl.MslMessageException
Construct a new MSL message exception with the specified error.
MslMessageException(MslError, String) - Constructor for exception com.netflix.msl.MslMessageException
Construct a new MSL message exception with the specified error and details.
MslMessageException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslMessageException
Construct a new MSL message exception with the specified error, details, and cause.
MslStore - Interface in com.netflix.msl.util
The Message Security Layer store manages the local store of master tokens identifying the local entity, user ID tokens identifying local users, and all service tokens issued by the local entity or remote entities.
MslUserAuthException - Exception in com.netflix.msl
Thrown when a user authentication exception occurs within the Message Security Layer.
MslUserAuthException(MslError) - Constructor for exception com.netflix.msl.MslUserAuthException
Construct a new MSL user authentication exception with the specified error.
MslUserAuthException(MslError, String) - Constructor for exception com.netflix.msl.MslUserAuthException
Construct a new MSL user authentication exception with the specified error and details.
MslUserAuthException(MslError, String, Throwable) - Constructor for exception com.netflix.msl.MslUserAuthException
Construct a new MSL user authentication exception with the specified error, details, and cause.
MslUserAuthException(MslError, Throwable) - Constructor for exception com.netflix.msl.MslUserAuthException
Construct a new MSL user authentication exception with the specified error and cause.
MslUserIdTokenException - Exception in com.netflix.msl
Thrown when there is a problem with a user ID token, but the token was successfully parsed.
MslUserIdTokenException(MslError, UserIdToken) - Constructor for exception com.netflix.msl.MslUserIdTokenException
Construct a new MSL user ID token exception with the specified error and user ID token.
MslUserIdTokenException(MslError, UserIdToken, String) - Constructor for exception com.netflix.msl.MslUserIdTokenException
Construct a new MSL user ID token exception with the specified error, user ID token, and details.

N

name() - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
name() - Method in class com.netflix.msl.keyx.KeyExchangeScheme
 
name() - Method in class com.netflix.msl.userauth.UserAuthenticationScheme
 
NONE - Static variable in class com.netflix.msl.entityauth.EntityAuthenticationScheme
Unauthenticated.
NONE - Static variable in class com.netflix.msl.MslError
 
NONREPLAYABLE_ID_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
NONREPLAYABLE_MESSAGE_REQUIRES_MASTERTOKEN - Static variable in class com.netflix.msl.MslError
 
nonReplayableId - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 

O

output - Variable in class com.netflix.msl.msg.MslControl.MslChannel
Message output stream to write to the remote entity.

P

parseHeader(MslContext, JSONObject, Map<String, ICryptoContext>) - Static method in class com.netflix.msl.msg.Header
Construct a new header from the provided JSON object.
PAYLOAD_DATA_CORRUPT - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_DATA_MISSING - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_INVALID - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_MESSAGE_ID_MISMATCH - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_MESSAGE_ID_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_SEQUENCE_NUMBER_MISMATCH - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_SEQUENCE_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_SIGNATURE_INVALID - Static variable in class com.netflix.msl.MslError
 
PAYLOAD_VERIFICATION_FAILED - Static variable in class com.netflix.msl.MslError
 
peerMasterToken - Variable in class com.netflix.msl.msg.MessageHeader.HeaderPeerData
 
peerServiceTokens - Variable in class com.netflix.msl.msg.MessageHeader.HeaderPeerData
 
peerUserIdToken - Variable in class com.netflix.msl.msg.MessageHeader.HeaderPeerData
 
PLAINTEXT_BAD_PADDING - Static variable in class com.netflix.msl.MslError
 
PLAINTEXT_ILLEGAL_BLOCK_SIZE - Static variable in class com.netflix.msl.MslError
 
protectsIntegrity() - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
PSK - Static variable in class com.netflix.msl.entityauth.EntityAuthenticationScheme
Pre-shared keys.

R

read() - Method in class com.netflix.msl.msg.MessageInputStream
 
read(byte[], int, int) - Method in class com.netflix.msl.msg.MessageInputStream
 
read(byte[]) - Method in class com.netflix.msl.msg.MessageInputStream
 
receive(MslContext, MessageContext, InputStream, OutputStream, int) - Method in class com.netflix.msl.msg.MslControl
Receive a request over the provided input stream.
receivedHeader(Header) - Method in interface com.netflix.msl.msg.MessageDebugContext
Called just after receiving a message, before performing additional validation, with the message header or error header.
recipient - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
removeCryptoContext(MasterToken) - Method in interface com.netflix.msl.util.MslStore
Remove a master token and its associated crypto context.
removeServiceTokens(String, MasterToken, UserIdToken) - Method in interface com.netflix.msl.util.MslStore
Remove all service tokens matching all the specified parameters.
removeUserIdToken(UserIdToken) - Method in interface com.netflix.msl.util.MslStore
Remove a user ID token.
renewable - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
renewMasterToken(MslContext, MasterToken, SecretKey, SecretKey) - Method in interface com.netflix.msl.tokens.TokenFactory
Renew a master token assigning it the new session keys.
renewUserIdToken(MslContext, UserIdToken, MasterToken) - Method in interface com.netflix.msl.tokens.TokenFactory
Renew a user ID token and bind it to the provided master token.
request(MslContext, MessageContext, URL, int) - Method in class com.netflix.msl.msg.MslControl
Send a request to the entity at the provided URL.
request(MslContext, MessageContext, InputStream, OutputStream, int) - Method in class com.netflix.msl.msg.MslControl
Send a request to the remote entity over the provided output stream and receive a resposne over the provided input stream.
REQUEST_REQUIRES_USERAUTHDATA - Static variable in class com.netflix.msl.MslError
 
RESERVED_2012 - Static variable in class com.netflix.msl.MslError
 
reset() - Method in class com.netflix.msl.msg.MessageInputStream
 
respond(MslContext, MessageContext, InputStream, OutputStream, MessageInputStream, int) - Method in class com.netflix.msl.msg.MslControl
Send a response over the provided output stream.
RESPONSE_REQUIRES_ENCRYPTION - Static variable in class com.netflix.msl.MslError
 
RESPONSE_REQUIRES_INTEGRITY_PROTECTION - Static variable in class com.netflix.msl.MslError
 
RESPONSE_REQUIRES_MASTERTOKEN - Static variable in class com.netflix.msl.MslError
 
RESPONSE_REQUIRES_USERIDTOKEN - Static variable in class com.netflix.msl.MslError
 
RSA - Static variable in class com.netflix.msl.entityauth.EntityAuthenticationScheme
RSA public/private key pair.
RSA_PUBLICKEY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 

S

sentHeader(Header) - Method in interface com.netflix.msl.msg.MessageDebugContext
Called just prior to sending a message with the message header or error header that will be sent.
ServiceToken - Class in com.netflix.msl.tokens
Service tokens are service-defined tokens carried as part of any MSL message.
ServiceToken(MslContext, String, byte[], MasterToken, UserIdToken, boolean, MslConstants.CompressionAlgorithm, ICryptoContext) - Constructor for class com.netflix.msl.tokens.ServiceToken
Construct a new service token with the specified name and data.
ServiceToken(MslContext, JSONObject, MasterToken, UserIdToken, Map<String, ICryptoContext>) - Constructor for class com.netflix.msl.tokens.ServiceToken
Construct a new service token from the provided JSON object and attempt to decrypt and verify the signature of the service token using the appropriate crypto context.
ServiceToken(MslContext, JSONObject, MasterToken, UserIdToken, ICryptoContext) - Constructor for class com.netflix.msl.tokens.ServiceToken
Construct a new service token from the provided JSON object.
SERVICETOKEN_MASTERTOKEN_MISMATCH - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_MASTERTOKEN_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_SERVICEDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_SIGNATURE_INVALID - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_TOKENDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_TOKENDATA_MISSING - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_USERIDTOKEN_MISMATCH - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_USERIDTOKEN_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
SERVICETOKEN_USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
serviceTokens - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
SESSION_KEY_CREATION_FAILURE - Static variable in class com.netflix.msl.MslError
 
setCryptoContext(MasterToken, ICryptoContext) - Method in interface com.netflix.msl.util.MslStore
Save a master token and its associated crypto context.
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslCryptoException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslCryptoException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslEncodingException
 
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslEncodingException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslEntityAuthException
 
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslEntityAuthException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslException
Set the entity associated with the exception.
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslException
Set the entity associated with the exception.
setEntity(MasterToken) - Method in exception com.netflix.msl.MslKeyExchangeException
 
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslKeyExchangeException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslMessageException
 
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslMessageException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslUserAuthException
 
setEntity(MasterToken) - Method in exception com.netflix.msl.MslUserIdTokenException
 
setEntity(EntityAuthenticationData) - Method in exception com.netflix.msl.MslUserIdTokenException
 
setFilterFactory(FilterStreamFactory) - Method in class com.netflix.msl.msg.MslControl
Assigns a filter stream factory that will be used to filter any incoming or outgoing messages.
setMessageId(long) - Method in exception com.netflix.msl.MslEncodingException
 
setMessageId(long) - Method in exception com.netflix.msl.MslException
Set the message ID of the message associated with the exception.
setMessageId(long) - Method in exception com.netflix.msl.MslMasterTokenException
 
setMessageId(long) - Method in exception com.netflix.msl.MslMessageException
 
setMessageId(long) - Method in exception com.netflix.msl.MslUserIdTokenException
 
setUser(UserIdToken) - Method in exception com.netflix.msl.MslEncodingException
 
setUser(UserAuthenticationData) - Method in exception com.netflix.msl.MslEncodingException
 
setUser(UserIdToken) - Method in exception com.netflix.msl.MslException
Set the user associated with the exception.
setUser(UserAuthenticationData) - Method in exception com.netflix.msl.MslException
Set the user associated with the exception.
setUser(UserIdToken) - Method in exception com.netflix.msl.MslKeyExchangeException
 
setUser(UserAuthenticationData) - Method in exception com.netflix.msl.MslKeyExchangeException
 
setUser(UserIdToken) - Method in exception com.netflix.msl.MslMasterTokenException
 
setUser(UserAuthenticationData) - Method in exception com.netflix.msl.MslMasterTokenException
 
setUser(UserIdToken) - Method in exception com.netflix.msl.MslMessageException
 
setUser(UserAuthenticationData) - Method in exception com.netflix.msl.MslUserAuthException
 
shutdown() - Method in class com.netflix.msl.msg.MslControl
Gracefully shutdown the MSL control instance.
sign(byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Computes the signature for some data.
SIGN_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 
SIGNATURE_ENVELOPE_ENCODE_ERROR - Static variable in class com.netflix.msl.MslError
 
SIGNATURE_ENVELOPE_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
SIGNATURE_ERROR - Static variable in class com.netflix.msl.MslError
 
skip(long) - Method in class com.netflix.msl.msg.MessageInputStream
 
SYMMETRIC_WRAPPED - Static variable in class com.netflix.msl.keyx.KeyExchangeScheme
Symmetric key wrapped.

T

toJSONString() - Method in class com.netflix.msl.entityauth.EntityAuthenticationData
 
toJSONString() - Method in class com.netflix.msl.keyx.KeyRequestData
 
toJSONString() - Method in class com.netflix.msl.keyx.KeyResponseData
 
toJSONString() - Method in class com.netflix.msl.msg.ErrorHeader
 
toJSONString() - Method in class com.netflix.msl.msg.MessageCapabilities
 
toJSONString() - Method in class com.netflix.msl.msg.MessageHeader
 
toJSONString() - Method in class com.netflix.msl.tokens.MasterToken
 
toJSONString() - Method in class com.netflix.msl.tokens.ServiceToken
 
toJSONString() - Method in class com.netflix.msl.tokens.UserIdToken
 
toJSONString() - Method in class com.netflix.msl.userauth.UserAuthenticationData
 
TokenFactory - Interface in com.netflix.msl.tokens
The token factory creates and renews master tokens and user ID tokens.
toString() - Method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
toString() - Method in class com.netflix.msl.keyx.KeyExchangeScheme
 
toString() - Method in class com.netflix.msl.keyx.KeyRequestData
 
toString() - Method in class com.netflix.msl.keyx.KeyResponseData
 
toString() - Method in class com.netflix.msl.msg.MessageCapabilities
 
toString() - Method in enum com.netflix.msl.MslConstants.CipherSpec
Returns the string value of this cipher specification.
toString() - Method in enum com.netflix.msl.MslConstants.SignatureAlgo
Returns the string value of this signature algorithm.
toString() - Method in class com.netflix.msl.tokens.MasterToken
 
toString() - Method in class com.netflix.msl.tokens.ServiceToken
 
toString() - Method in class com.netflix.msl.tokens.UserIdToken
 
toString() - Method in class com.netflix.msl.userauth.UserAuthenticationScheme
 

U

UNCOMPRESSION_ERROR - Static variable in class com.netflix.msl.MslError
 
UNEXPECTED_MESSAGE_SENDER - Static variable in class com.netflix.msl.MslError
 
UNEXPECTED_RESPONSE_MESSAGE_ID - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_ALGORITHM - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_CIPHERSPEC - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_CIPHERTEXT_ENVELOPE - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_COMPRESSION - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_ENTITYAUTH_SCHEME - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_JWK_ALGORITHM - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_JWK_KEYOP - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_JWK_TYPE - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_JWK_USAGE - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_KEYX_KEY_ID - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_KEYX_MECHANISM - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_KEYX_SCHEME - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_SIGNATURE_ENVELOPE - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_USERAUTH_MECHANISM - Static variable in class com.netflix.msl.MslError
 
UNIDENTIFIED_USERAUTH_SCHEME - Static variable in class com.netflix.msl.MslError
 
UNKNOWN_KEYX_PARAMETERS_ID - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_CIPHERTEXT_ENVELOPE - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_COMPRESSION - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_ENTITYAUTH_DATA - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_JWE_ALGORITHM - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_JWE_SERIALIZATION - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_JWK_ALGORITHM - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_KEY - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_KEYX_KEY_ID - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_KEYX_MECHANISM - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_SIGNATURE_ENVELOPE - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_USERAUTH_DATA - Static variable in class com.netflix.msl.MslError
 
UNSUPPORTED_USERAUTH_MECHANISM - Static variable in class com.netflix.msl.MslError
 
unwrap(byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Unwraps some data.
UNWRAP_ERROR - Static variable in class com.netflix.msl.MslError
 
UNWRAP_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 
updateServiceTokens(MessageServiceTokenBuilder, boolean) - Method in interface com.netflix.msl.msg.MessageContext
Called prior to message sending to allow the processor to modify the message being built.
USER_REJECTED_BY_APP - Static variable in class com.netflix.msl.MslError
 
USERAUTH_ENTITY_MISMATCH - Static variable in class com.netflix.msl.MslError
 
USERAUTH_FACTORY_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
USERAUTH_INCORRECT_DATA - Static variable in class com.netflix.msl.MslError
 
USERAUTH_MASTERTOKEN_INVALID - Static variable in class com.netflix.msl.MslError
 
USERAUTH_MASTERTOKEN_MISSING - Static variable in class com.netflix.msl.MslError
 
USERAUTH_MASTERTOKEN_NOT_DECRYPTED - Static variable in class com.netflix.msl.MslError
 
USERAUTH_USERIDTOKEN_INVALID - Static variable in class com.netflix.msl.MslError
 
USERAUTH_USERIDTOKEN_MISSING - Static variable in class com.netflix.msl.MslError
 
USERAUTH_USERIDTOKEN_NOT_DECRYPTED - Static variable in class com.netflix.msl.MslError
 
userAuthData - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
UserAuthenticationData - Class in com.netflix.msl.userauth
The user authentication data provides proof of user identity.
UserAuthenticationData(UserAuthenticationScheme) - Constructor for class com.netflix.msl.userauth.UserAuthenticationData
Create a new user authentication data object with the specified user authentication scheme.
UserAuthenticationFactory - Class in com.netflix.msl.userauth
A user authentication factory creates authentication data instances and performs authentication for a specific user authentication scheme.
UserAuthenticationFactory(UserAuthenticationScheme) - Constructor for class com.netflix.msl.userauth.UserAuthenticationFactory
Create a new user authentication factory for the specified scheme.
UserAuthenticationScheme - Class in com.netflix.msl.userauth
User authentication schemes.
UserAuthenticationScheme(String) - Constructor for class com.netflix.msl.userauth.UserAuthenticationScheme
Define a user authentication scheme with the specified name.
userIdToken - Variable in class com.netflix.msl.msg.MessageHeader.HeaderData
 
UserIdToken - Class in com.netflix.msl.tokens
A user ID token provides proof of user identity.
UserIdToken(MslContext, Date, Date, MasterToken, long, JSONObject, MslUser) - Constructor for class com.netflix.msl.tokens.UserIdToken
Create a new user ID token with the specified user.
UserIdToken(MslContext, JSONObject, MasterToken) - Constructor for class com.netflix.msl.tokens.UserIdToken
Create a new user ID token from the provided JSON object.
USERIDTOKEN_EXPIRES_BEFORE_RENEWAL - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_IDENTITY_INVALID - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_IDENTITY_NOT_ASSOCIATED_WITH_ENTITY - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_MASTERTOKEN_MISMATCH - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_MASTERTOKEN_NOT_FOUND - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_MASTERTOKEN_NULL - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_NOT_DECRYPTED - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_REJECTED_BY_APP - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_REVOKED - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_SIGNATURE_INVALID - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_TOKENDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_TOKENDATA_MISSING - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_TOKENDATA_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_USERAUTH_DATA_MISMATCH - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_USERDATA_INVALID - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_USERDATA_MISSING - Static variable in class com.netflix.msl.MslError
 
USERIDTOKEN_USERDATA_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 

V

valueOf(String) - Static method in enum com.netflix.msl.msg.MessageContext.ReauthCode
Returns the enum constant of this type with the specified name.
valueOf(MslConstants.ResponseCode) - Static method in enum com.netflix.msl.msg.MessageContext.ReauthCode
 
valueOf(String) - Static method in enum com.netflix.msl.msg.MslControl.ApplicationError
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.msl.MslConstants.CipherSpec
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.msl.MslConstants.CompressionAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.msl.MslConstants.ResponseCode
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.netflix.msl.MslConstants.ResponseCode
 
valueOf(String) - Static method in enum com.netflix.msl.MslConstants.SignatureAlgo
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.msl.util.MslContext.ReauthCode
Returns the enum constant of this type with the specified name.
valueOf(MslConstants.ResponseCode) - Static method in enum com.netflix.msl.util.MslContext.ReauthCode
 
values() - Static method in class com.netflix.msl.entityauth.EntityAuthenticationScheme
 
values() - Static method in class com.netflix.msl.keyx.KeyExchangeScheme
 
values() - Static method in enum com.netflix.msl.msg.MessageContext.ReauthCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.msl.msg.MslControl.ApplicationError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.msl.MslConstants.CipherSpec
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.msl.MslConstants.CompressionAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.msl.MslConstants.ResponseCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.msl.MslConstants.SignatureAlgo
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class com.netflix.msl.userauth.UserAuthenticationScheme
 
values() - Static method in enum com.netflix.msl.util.MslContext.ReauthCode
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Verifies the signature for some data.
VERIFY_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 

W

wrap(byte[]) - Method in interface com.netflix.msl.crypto.ICryptoContext
Wraps some data.
WRAP_ERROR - Static variable in class com.netflix.msl.MslError
 
WRAP_KEY_CREATION_FAILURE - Static variable in class com.netflix.msl.MslError
 
WRAP_NOT_SUPPORTED - Static variable in class com.netflix.msl.MslError
 
write(MessageOutputStream) - Method in interface com.netflix.msl.msg.MessageContext
Called when the message is ready to be sent.

X

X509 - Static variable in class com.netflix.msl.entityauth.EntityAuthenticationScheme
X.509 public/private key pair.
X509CERT_ENCODE_ERROR - Static variable in class com.netflix.msl.MslError
 
X509CERT_EXPIRED - Static variable in class com.netflix.msl.MslError
 
X509CERT_INVALID - Static variable in class com.netflix.msl.MslError
 
X509CERT_NOT_YET_VALID - Static variable in class com.netflix.msl.MslError
 
X509CERT_PARSE_ERROR - Static variable in class com.netflix.msl.MslError
 
X509CERT_VERIFICATION_FAILED - Static variable in class com.netflix.msl.MslError
 

A C D E F G H I J K M N O P R S T U V W X
Message Security Layer (MSL)

Copyright © 2014 Netflix, Inc. All Rights Reserved.