com.sun.identity.wss.security
クラス X509TokenSpec

java.lang.Object
  上位を拡張 com.sun.identity.wss.security.X509TokenSpec
すべての実装されたインタフェース:
SecurityTokenSpec

public class X509TokenSpec
extends Object
implements SecurityTokenSpec

This class defines the specification for generating the X509 security tokens. It implements SecurityTokenSpec interface.


フィールドの概要
static String DIRECT_REFERENCE
           
static String ISSUER_SERIAL
           
static String KEY_IDENTIFIER
           
 
コンストラクタの概要
X509TokenSpec(String[] certAlias, String valueType, String encodingType)
          Constructor that defines this specfication.
 
メソッドの概要
 String getEncodingType()
          Returns the encoding type.
 String getReferenceType()
          Returns the token reference type.
 String[] getSubjectCertAlias()
          Returns the array of certificate aliases defined in this spec.
 String getValueType()
          Returns the X509 token type.
 void setReferenceType(String referenceType)
          Sets the token reference type.
 

フィールドの詳細

DIRECT_REFERENCE

public static final String DIRECT_REFERENCE
関連項目:
定数フィールド値

KEY_IDENTIFIER

public static final String KEY_IDENTIFIER
関連項目:
定数フィールド値

ISSUER_SERIAL

public static final String ISSUER_SERIAL
関連項目:
定数フィールド値
コンストラクタの詳細

X509TokenSpec

public X509TokenSpec(String[] certAlias,
                     String valueType,
                     String encodingType)
Constructor that defines this specfication.

パラメータ:
certAlias - the array of certificate aliases that can be used to create the X509 token specification. For example the PKI PathSecurity token would need ordered list of certificates.
valueType - the token value type. This is to indicate the value of the certificate.
encodingType - the token encoding type of the certficates that are attached in the security header.
メソッドの詳細

getSubjectCertAlias

public String[] getSubjectCertAlias()
Returns the array of certificate aliases defined in this spec.

戻り値:
String[] the array of subject certificate aliases.

getValueType

public String getValueType()
Returns the X509 token type.

戻り値:
the X509 token type.

getEncodingType

public String getEncodingType()
Returns the encoding type.

戻り値:
the encoding type of the certificates used.

getReferenceType

public String getReferenceType()
Returns the token reference type.

戻り値:
the reference type for the x509 token.

setReferenceType

public void setReferenceType(String referenceType)
Sets the token reference type.