class CallContext extends Utilities implements OutboundRequestHandle
Utilities.SSLContextInfo
Modifier and Type | Field and Description |
---|---|
(package private) String[] |
cipherSuites
An ordered list of cipher suites to use.
|
(package private) boolean |
clientAuthRequired
Whether client authentication is required.
|
(package private) Set |
clientPrincipals
The principals in the client subject that may be used for
authentication, or null if the client is anonymous.
|
(package private) Subject |
clientSubject
The client subject.
|
(package private) long |
connectionTime
The absolute time by which a new connection must be completed, or
Long.MAX_VALUE for no restriction.
|
(package private) Endpoint |
endpoint
The endpoint.
|
(package private) SslEndpointImpl |
endpointImpl
The associated endpoint implementation delegate.
|
(package private) boolean |
integrityPreferred
Whether codebase integrity is preferred.
|
(package private) boolean |
integrityRequired
Whether codebase integrity is required.
|
(package private) Set |
serverPrincipals
The principals that will be accepted for authentication of the server
subject, or null if all principals are permitted or if the server is
anonymous.
|
ANY_KEY_ALGORITHM, clientLogger, DSA_KEY_ALGORITHM, getSubjectPermission, initLogger, INTEGRITY_PREFERRED, INTEGRITY_REQUIRED, RSA_KEY_ALGORITHM, serverLogger, UNKNOWN_PRINCIPAL
Constructor and Description |
---|
CallContext(Endpoint endpoint,
SslEndpointImpl endpointImpl,
Subject clientSubject,
boolean clientAuthRequired,
Set clientPrincipals,
Set serverPrincipals,
List cipherSuites,
boolean integrityRequired,
boolean integrityPreferred,
long connectionTime)
Creates a CallContext.
|
Modifier and Type | Method and Description |
---|---|
(package private) static CallContext |
coerce(OutboundRequestHandle handle,
Endpoint endpoint)
Converts an OutboundRequestHandle intended for the specified endpoint
into a CallContext.
|
(package private) InvocationConstraints |
getUnfulfilledConstraints()
Returns any constraints that must be partially or fully implemented by
higher layers for this outbound request.
|
String |
toString() |
checkValidity, contains, doesEncryption, doesServerAuthentication, equals, firstX509Cert, getCertFactory, getCipherAlgorithm, getClassName, getClientPrincipals, getClientPrincipals, getClientSSLContextInfo, getKeyAlgorithm, getKeyExchangeAlgorithm, getPermittedKeyAlgorithms, getServerPrincipals, getServerSSLContextInfo, getSupportedCipherSuites, hasStrongCipherAlgorithm, logThrow, maintainsIntegrity, permittedKeyAlgorithm, position, releaseClientSSLContextInfo, safeEquals, subjectString, toString
final Endpoint endpoint
final SslEndpointImpl endpointImpl
final Subject clientSubject
final boolean clientAuthRequired
final Set clientPrincipals
final Set serverPrincipals
final String[] cipherSuites
final boolean integrityRequired
final boolean integrityPreferred
final long connectionTime
static CallContext coerce(OutboundRequestHandle handle, Endpoint endpoint)
InvocationConstraints getUnfulfilledConstraints()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.