blob: 62f299cf1c876085e6a092a00ceaab97042788e0 [file] [log] [blame]
/*
* $Header: /cvshome/build/ee.foundation/src/java/security/Certificate.java,v 1.6 2006/03/14 01:20:26 hargrave Exp $
*
* (C) Copyright 2001 Sun Microsystems, Inc.
* Copyright (c) OSGi Alliance (2001, 2005). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package java.security;
public abstract interface Certificate {
public abstract void decode(java.io.InputStream var0) throws java.security.KeyException, java.io.IOException;
public abstract void encode(java.io.OutputStream var0) throws java.security.KeyException, java.io.IOException;
public abstract java.lang.String getFormat();
public abstract java.security.Principal getGuarantor();
public abstract java.security.Principal getPrincipal();
public abstract java.security.PublicKey getPublicKey();
public abstract java.lang.String toString(boolean var0);
}