org.openid4java.association.Association.isHmacSupported()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.openid4java.association.Association.isHmacSupported()方法的一些代码示例,展示了Association.isHmacSupported()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Association.isHmacSupported()方法的具体详情如下:
包路径:org.openid4java.association.Association
类名称:Association
方法名:isHmacSupported

Association.isHmacSupported介绍

暂无

代码示例

代码示例来源:origin: jbufu/openid4java

&& Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type, dhSess);
 Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type);

代码示例来源:origin: org.openid4java/openid4java

&& Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type, dhSess);
 Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type);

代码示例来源:origin: org.openid4java/openid4java-nodeps

&& Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type, dhSess);
 Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type);

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

&& Association.isHmacSupported(type.getAssociationType())) {
  assocReq = AssociationRequest.createAssociationRequest(type, dhSess);
    Association.isHmacSupported(type.getAssociationType())) {
assocReq = AssociationRequest.createAssociationRequest(type);

代码示例来源:origin: com.cloudbees/openid4java-shaded

&& Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type, dhSess);
 Association.isHmacSupported(type.getAssociationType()))
assocReq = AssociationRequest.createAssociationRequest(type);

代码示例来源:origin: com.cloudbees/openid4java-shaded

/**
 * Sets the preferred association / session type.
 *
 * @see AssociationSessionType
 */
public void setPrefAssocSessEnc(AssociationSessionType type)
    throws ServerException
{
  if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) )
    throw new ServerException("Unsupported association / session type: "
    + type.getSessionType() + " : " + type.getAssociationType());
  if (_minAssocSessEnc.isBetter(type) )
    throw new ServerException(
        "Minimum encryption settings cannot be better than the preferred");
  this._prefAssocSessEnc = type;
}

代码示例来源:origin: org.openid4java/openid4java

/**
 * Sets the preferred association / session type.
 *
 * @see AssociationSessionType
 */
public void setPrefAssocSessEnc(AssociationSessionType type)
    throws ServerException
{
  if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) )
    throw new ServerException("Unsupported association / session type: "
    + type.getSessionType() + " : " + type.getAssociationType());
  if (_minAssocSessEnc.isBetter(type) )
    throw new ServerException(
        "Minimum encryption settings cannot be better than the preferred");
  this._prefAssocSessEnc = type;
}

代码示例来源:origin: org.openid4java/openid4java-nodeps

/**
 * Sets the preferred association / session type.
 *
 * @see AssociationSessionType
 */
public void setPrefAssocSessEnc(AssociationSessionType type)
    throws ServerException
{
  if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) )
    throw new ServerException("Unsupported association / session type: "
    + type.getSessionType() + " : " + type.getAssociationType());
  if (_minAssocSessEnc.isBetter(type) )
    throw new ServerException(
        "Minimum encryption settings cannot be better than the preferred");
  this._prefAssocSessEnc = type;
}

代码示例来源:origin: jbufu/openid4java

/**
 * Sets the preferred association / session type.
 *
 * @see AssociationSessionType
 */
public void setPrefAssocSessEnc(AssociationSessionType type)
    throws ServerException
{
  if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) )
    throw new ServerException("Unsupported association / session type: "
    + type.getSessionType() + " : " + type.getAssociationType());
  if (_minAssocSessEnc.isBetter(type) )
    throw new ServerException(
        "Minimum encryption settings cannot be better than the preferred");
  this._prefAssocSessEnc = type;
}

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Sets the preferred association / session type.
 *
 * @see AssociationSessionType
 */
public void setPrefAssocSessEnc(AssociationSessionType type)
    throws ServerException {
  if (!Association.isHmacSupported(type.getAssociationType()) ||
    !DiffieHellmanSession.isDhSupported(type)) {
    throw new ServerException("Unsupported association / session type: "
                 + type.getSessionType() + " : " + type.getAssociationType());
  }
  if (_minAssocSessEnc.isBetter(type)) {
    throw new ServerException(
        "Minimum encryption settings cannot be better than the preferred");
  }
  this._prefAssocSessEnc = type;
}

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

if (!Association.isHmacSupported(type.getAssociationType()) ||
  !DiffieHellmanSession.isDhSupported(type) ||
  _minAssocSessEnc.isBetter(type)) {

代码示例来源:origin: org.openid4java/openid4java-nodeps

if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) ||
    _minAssocSessEnc.isBetter(type))

代码示例来源:origin: jbufu/openid4java

if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) ||
    _minAssocSessEnc.isBetter(type))

代码示例来源:origin: com.cloudbees/openid4java-shaded

if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) ||
    _minAssocSessEnc.isBetter(type))

代码示例来源:origin: org.openid4java/openid4java

if (! Association.isHmacSupported(type.getAssociationType()) ||
    ! DiffieHellmanSession.isDhSupported(type) ||
    _minAssocSessEnc.isBetter(type))

相关文章