JML

java.security
Interface Key

All Superinterfaces:
Serializable
All Known Subinterfaces:
PrivateKey, PublicKey, RSAPrivateKey, SecretKey

public interface Key
extends Serializable

JML's specification of Key.

Author:
Tabitha Johnson, Gary T. Leavens

Class Specifications

Specifications inherited from class Object
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this);

Field Summary
static long serialVersionUID
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getEncoded

public byte[] getEncoded()
Specifications:
ensures \result != null ==> \result .length != 0;

getAlgorithm

public String getAlgorithm()
Specifications: pure
ensures \result != null&&!(\result .equals(""));

getFormat

public String getFormat()
Specifications: pure
ensures \result != null ==> !(\result .equals(""));

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.