Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.xml.security.keyinfo
Class KeyPurpose

java.lang.Object
  extended by weblogic.xml.security.keyinfo.KeyPurpose

public final class KeyPurpose
extends Object

KeyResolver.KeyPurpose


Field Summary
static KeyPurpose[] ALL_PURPOSES
           
static KeyPurpose DECRYPT
           
static KeyPurpose[] DSA_PRIVATE_KEY_PURPOSES
           
static KeyPurpose[] DSA_PUBLIC_KEY_PURPOSES
           
static KeyPurpose ENCRYPT
           
static KeyPurpose[] PRIVATE_KEY_PURPOSES
           
static KeyPurpose[] PUBLIC_KEY_PURPOSES
           
static KeyPurpose SIGN
           
static KeyPurpose VERIFY
           
 
Method Summary
static KeyPurpose[] getPurposes(Key key)
           
 boolean served(KeyPurpose[] purposes)
           
protected static boolean serves(KeyPurpose[] purposes, KeyPurpose purpose)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SIGN

public static final KeyPurpose SIGN

VERIFY

public static final KeyPurpose VERIFY

ENCRYPT

public static final KeyPurpose ENCRYPT

DECRYPT

public static final KeyPurpose DECRYPT

ALL_PURPOSES

public static final KeyPurpose[] ALL_PURPOSES

PRIVATE_KEY_PURPOSES

public static final KeyPurpose[] PRIVATE_KEY_PURPOSES

PUBLIC_KEY_PURPOSES

public static final KeyPurpose[] PUBLIC_KEY_PURPOSES

DSA_PRIVATE_KEY_PURPOSES

public static final KeyPurpose[] DSA_PRIVATE_KEY_PURPOSES

DSA_PUBLIC_KEY_PURPOSES

public static final KeyPurpose[] DSA_PUBLIC_KEY_PURPOSES
Method Detail

toString

public String toString()
Overrides:
toString in class Object

served

public boolean served(KeyPurpose[] purposes)

serves

protected static final boolean serves(KeyPurpose[] purposes,
                                      KeyPurpose purpose)

getPurposes

public static final KeyPurpose[] getPurposes(Key key)

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02