Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


oracle.security.xmlsec.saml2.metadata
Class KeyDescriptor.KeyType

java.lang.Object
  extended by oracle.security.xmlsec.saml2.metadata.KeyDescriptor.KeyType

Enclosing class:
KeyDescriptor

public static class KeyDescriptor.KeyType
extends java.lang.Object

Represents the key usage.


Field Summary
static KeyDescriptor.KeyType ENCRYPTION
          Indicates key can be used for Encryption
static KeyDescriptor.KeyType SIGNING
          Indicates key can be used for Signing

 

Constructor Summary
KeyDescriptor.KeyType(java.lang.String value)
          Creates a new KeyType object.

 

Method Summary
 boolean equals(java.lang.Object o)
          Compares this KeyType object to the specified object.
 java.lang.String getValue()
          Returns the value of this KeyType.
 int hashCode()
          Returns the hash code for this instance.
 java.lang.String toString()
          Returns a description of this KeyType.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

ENCRYPTION

public static final KeyDescriptor.KeyType ENCRYPTION
Indicates key can be used for Encryption

SIGNING

public static final KeyDescriptor.KeyType SIGNING
Indicates key can be used for Signing

Constructor Detail

KeyDescriptor.KeyType

public KeyDescriptor.KeyType(java.lang.String value)
Creates a new KeyType object.
Parameters:
value - A String usage value.

Method Detail

getValue

public java.lang.String getValue()
Returns the value of this KeyType.
Returns:
A String value.

toString

public java.lang.String toString()
Returns a description of this KeyType.
Overrides:
toString in class java.lang.Object
Returns:
A String representation.

hashCode

public int hashCode()
Returns the hash code for this instance.
Overrides:
hashCode in class java.lang.Object
Returns:
The hash code.

equals

public boolean equals(java.lang.Object o)
Compares this KeyType object to the specified object.
Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare to.
Returns:
A boolean value.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


Copyright © 2005, 2011 , Oracle. All rights reserved.