📄 tokentypes.java
字号:
package edu.virginia.cs.wst;import java.net.URI;import java.net.URISyntaxException;import org.apache.ws.security.WSConstants;import org.apache.ws.security.message.token.X509Security;/** * @author ddelvecc * * A set of URI constants representing different token types defined by the WS-Security TC. These are typically used * in the WS-Trust <TokenType> element. */public abstract class TokenTypes { public static URI USERNAME; private static final String x509prefix = WSConstants.X509TOKEN_NS; public static URI X509; public static URI X509PKIPATH; public static URI PKCS7; static { try { USERNAME = new URI(WSConstants.USERNAMETOKEN_NS + "#" + WSConstants.USERNAME_TOKEN_LN); X509 = new URI(X509Security.TYPE); X509PKIPATH = new URI(x509prefix + "#X509PKIPathv1"); PKCS7 = new URI(x509prefix + "#PKCS7"); } catch (URISyntaxException e) {} }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -