Interface InboundSecurityToken

    • Method Detail

      • getSecretKey

        java.security.Key getSecretKey​(java.lang.String algorithmURI,
                                       XMLSecurityConstants.AlgorithmUsage algorithmUsage,
                                       java.lang.String correlationID)
                                throws XMLSecurityException
        Returns the secret key
        Parameters:
        algorithmURI - for the requested key
        algorithmUsage -
        Returns:
        The requested key for the specified algorithmURI, or null if no matching key is found
        Throws:
        XMLSecurityException - if the key can't be loaded
      • getPublicKey

        java.security.PublicKey getPublicKey​(java.lang.String algorithmURI,
                                             XMLSecurityConstants.AlgorithmUsage algorithmUsage,
                                             java.lang.String correlationID)
                                      throws XMLSecurityException
        Returns the public key if one exist for this token type
        Parameters:
        algorithmURI -
        algorithmUsage -
        Returns:
        The Public-Key for asymmetric algorithms
        Throws:
        XMLSecurityException - if the key can't be loaded
      • getElementPath

        java.util.List<javax.xml.namespace.QName> getElementPath()
        Returns the absolute path to the XMLElement
        Returns:
        A list containing full qualified element names
      • getXMLSecEvent

        XMLSecEvent getXMLSecEvent()
        Returns the first XMLEvent for this token
        Returns:
        the first XMLEvent for this token
      • isIncludedInMessage

        boolean isIncludedInMessage()
        Returns if the token is included in the message or not
        Returns:
        true if the token is included false otherwise