Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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

java.lang.Object
  extended byoracle.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.
Returns:
A String representation.

hashCode

public int hashCode()
Returns the hash code for this instance.
Returns:
The hash code.

equals

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

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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